Interface Function2<T1,T2,R>
- All Superinterfaces:
BiFunction<T1,T2, R>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function with 2 arguments.
-
Method Summary
Modifier and TypeMethodDescriptiondefault RApply this function to the arguments.Apply this function to the arguments.applyPartially(Tuple1<? extends T1> args) Partially apply this function to the arguments.applyPartially(Tuple2<? extends T1, ? extends T2> args) Partially apply this function to the arguments.applyPartially(T1 v1) Partially apply this function to the arguments.applyPartially(T1 v1, T2 v2) Partially apply this function to the arguments.Deprecated.Deprecated.- UseapplyPartially(Tuple2)instead.Deprecated.- UseapplyPartially(Object)instead.Deprecated.- UseapplyPartially(Object, Object)instead.static <T1,T2, R> Function2 <T1, T2, R> from(BiFunction<? super T1, ? super T2, ? extends R> function) Convert to this function to aBiFunction.default BiFunction<T1, T2, R> Convert this function to aBiFunction.Methods inherited from interface BiFunction
andThen
-
Method Details
-
apply
-
apply
-
toBiFunction
Convert this function to aBiFunction. -
from
Convert to this function to aBiFunction. -
applyPartially
-
applyPartially
-
applyPartially
-
applyPartially
-
curry
Deprecated.- UseapplyPartially(Object)instead.Partially apply this function to the arguments. -
curry
Deprecated.- UseapplyPartially(Object, Object)instead.Partially apply this function to the arguments. -
curry
Deprecated.- UseapplyPartially(Tuple1)instead.Partially apply this function to the arguments. -
curry
Deprecated.- UseapplyPartially(Tuple2)instead.Partially apply this function to the arguments.
-
applyPartially(Tuple1)instead.