T1 - the type of the input to the functionT2 - the type of the second argument to the function@FunctionalInterface public interface ToFloatFunction2<T1,T2> extends ToFloatFunctionN, UnboxedResult<Function2<T1,T2,java.lang.Float>>
float-valued result.
This is the two-arity specialization of ToFloatFunctionN.
This is the float-producing primitive specialization of Function2.
This is a functional interface whose functional method is applyAsFloat(Object, Object).
Function2,
ToFloatFunctionNToFloatFunctionN.InstanceFunctionN.FunctionSizeException| Modifier and Type | Method and Description |
|---|---|
default <V> Function2<T1,T2,V> |
andThen(Function1<? super java.lang.Float,? extends V> after)
Returns a chained object that applies this chainable object, and then
applies the
after function to ths result. |
default <V> Function2<T1,T2,V> |
andThenUnchecked(Function1<? super java.lang.Float,? extends V> after)
Returns a chained object that applies this chainable object, and then
applies the
after function to ths result. |
default float |
applyAllAsFloatUnchecked(java.lang.Object... args)
Applies this function to the given arguments.
|
float |
applyAsFloat(T1 t1,
T2 t2)
Applies this function to the given arguments.
|
default int |
arity()
Returns the number of arguments of the function.
|
default Function2<T1,T2,java.lang.Float> |
boxResult()
Returns the boxed version of this object with a boxed result.
|
applyAllUncheckedcheckSize, checkSize, sizedApplyAllUncheckedfloat applyAsFloat(T1 t1, T2 t2)
t1 - the first function argumentt2 - the second function argumentdefault float applyAllAsFloatUnchecked(java.lang.Object... args)
ToFloatFunctionNapplyAllAsFloatUnchecked in interface ToFloatFunctionNargs - the function argumentsdefault int arity()
FunctionN-1.default Function2<T1,T2,java.lang.Float> boxResult()
UnboxedResultdefault <V> Function2<T1,T2,V> andThen(Function1<? super java.lang.Float,? extends V> after)
ResultChainableafter function to ths result. If evaluation of either
throws an exception, it is relayed to the caller of the chained object.andThen in interface FunctionN<java.lang.Float>andThen in interface ResultChainable<java.lang.Float>andThen in interface ResultChainableResult<java.lang.Float>V - the type of the output of the after function, and of
the chained objectafter - the function to apply after this chainable object is appliedafter functionFunction2default <V> Function2<T1,T2,V> andThenUnchecked(Function1<? super java.lang.Float,? extends V> after)
ResultChainableafter function to ths result. If evaluation of either
throws an exception, it is relayed to the caller of the chained object.
This makes no assumptions on the arguments of this method.andThenUnchecked in interface FunctionN<java.lang.Float>andThenUnchecked in interface ResultChainable<java.lang.Float>andThenUnchecked in interface ResultChainableResult<java.lang.Float>V - the type of the output of the after function, and of
the chained objectafter - the function to apply after this chainable object is appliedafter functionFunction2