public interface FloatBinaryOperator extends FloatFloatToFloatFunction
float-valued operands and producing a
float-valued result. This is the primitive type specialization of
BinaryOperator for float.
Unlike FloatFloatToFloatFunction, this operator is supposed to accept two homogeneous
arguments and produce a result homogeneous to the arguments, e. g. value merging
in ObjFloatMap.merge(Object, float, FloatBinaryOperator)
method.
BinaryOperator,
FloatUnaryOperator| Modifier and Type | Method and Description |
|---|---|
float |
applyAsFloat(float left,
float right)
Applies this operator to the given operands.
|
float applyAsFloat(float left,
float right)
applyAsFloat in interface FloatFloatToFloatFunctionleft - the first operandright - the second operand