public class ToDoubleBiFunctions extends Object
ToDoubleBiFunction instances.| Modifier and Type | Method and Description |
|---|---|
static <T,U,R> ToDoubleBiFunction<T,U> |
compose(BiFunction<? super T,? super U,? extends R> biFunction,
ToDoubleFunction<? super R> function)
Composes the given functions
|
static <T,U,R> BiFunction<T,U,R> |
compose(ToDoubleBiFunction<? super T,? super U> biFunction,
DoubleFunction<? extends R> function)
Composes the given functions
|
static <T,U,R> ToDoubleBiFunction<T,U> |
compose(ToDoubleBiFunction<? super T,? super U> biFunction,
DoubleUnaryOperator operator)
Composes the given functions
|
static <T,U,R extends Number> |
unbox(BiFunction<T,U,R> f,
double returnValueForNull)
Returns a view on the given BiFunction as a ToDoubleBiFunction that
thus unboxing the return type from a
Number
(like Double) to double |
public static <T,U,R extends Number> ToDoubleBiFunction<T,U> unbox(BiFunction<T,U,R> f, double returnValueForNull)
Number
(like Double) to doubleT - The first argument typeU - The second argument typeR - The return value typef - The functionreturnValueForNull - The return value that should be used
when the given delegate function returns nullpublic static <T,U,R> ToDoubleBiFunction<T,U> compose(BiFunction<? super T,? super U,? extends R> biFunction, ToDoubleFunction<? super R> function)
T - The first argument typeU - The second argument typeR - The first result typebiFunction - The BiFunctionfunction - The ToDoubleFunctionToDoubleBiFunctionpublic static <T,U,R> BiFunction<T,U,R> compose(ToDoubleBiFunction<? super T,? super U> biFunction, DoubleFunction<? extends R> function)
T - The first argument typeU - The second argument typeR - The result typebiFunction - The ToDoubleBiFunctionfunction - The DoubleFunctionBiFunctionpublic static <T,U,R> ToDoubleBiFunction<T,U> compose(ToDoubleBiFunction<? super T,? super U> biFunction, DoubleUnaryOperator operator)
T - The first argument typeU - The second argument typeR - The first result typebiFunction - The ToDoubleBiFunctionoperator - The DoubleUnaryOperatorToDoubleBiFunctionCopyright © 2020. All rights reserved.