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