Interface FloatBinaryOperator
- All Superinterfaces:
BiFunction<Float,,Float, Float> BinaryOperator<@NotNull Float>
- 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
float operand that produces a float result.
This is the primitive type specialization of UnaryOperator for float.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull FloatfloatapplyAsFloat(float left, float right) Applies this operator to the given operands.Methods inherited from interface java.util.function.BiFunction
andThen
-
Method Details
-
applyAsFloat
float applyAsFloat(float left, float 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 Float apply(@NotNull @NotNull Float left, @NotNull @NotNull Float right) - Specified by:
applyin interfaceBiFunction<Float,Float, Float>
-