@FunctionalInterface
public interface ByteBinaryOperator
extends java.util.function.BinaryOperator<java.lang.Byte>, java.util.function.IntBinaryOperator
BinaryOperator; provides methods operating both on objects
and on primitives.BinaryOperator| Modifier and Type | Method and Description |
|---|---|
byte |
apply(byte x,
byte y)
Computes the operator on the given inputs.
|
default java.lang.Byte |
apply(java.lang.Byte x,
java.lang.Byte y)
Deprecated.
Please use the corresponding type-specific method instead.
|
default int |
applyAsInt(int x,
int y)
Deprecated.
Please use
apply(byte, byte). |
byte apply(byte x,
byte y)
x - the first input.y - the second input.@Deprecated
default int applyAsInt(int x,
int y)
apply(byte, byte).applyAsInt in interface java.util.function.IntBinaryOperatorjava.lang.IllegalArgumentException - If the given operands are not an element of the key domain.@Deprecated
default java.lang.Byte apply(java.lang.Byte x,
java.lang.Byte y)
apply in interface java.util.function.BiFunction<java.lang.Byte,java.lang.Byte,java.lang.Byte>