Interface ByteBinaryOperator
- All Superinterfaces:
BiFunction<Byte,,Byte, Byte> BinaryOperator<@NotNull Byte>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents an operation on a single
byte operand that produces a byte result.
This is the primitive type specialization of UnaryOperator for byte.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull BytebyteapplyAsByte(byte left, byte right) Applies this operator to the given operands.Methods inherited from interface java.util.function.BiFunction
andThen
-
Method Details
-
applyAsByte
byte applyAsByte(byte left, byte right) Applies this operator to the given operands.- Parameters:
left- the first operandright- the second operand- Returns:
- result of applying this operation to the operands
-
apply
@Contract("null, _ -> fail; _, null -> fail; _ -> _") @NotNull default @NotNull Byte apply(@NotNull @NotNull Byte left, @NotNull @NotNull Byte right) - Specified by:
applyin interfaceBiFunction<Byte,Byte, Byte>
-