-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Function3<T1,T2,T3,R>
A function with 3 arguments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default R
apply(Tuple3<? extends T1,? extends T2,? extends T3> args)
Apply this function to the arguments.R
apply(T1 v1, T2 v2, T3 v3)
Apply this function to the arguments.default Function2<T2,T3,R>
applyPartially(Tuple1<? extends T1> args)
Partially apply this function to the arguments.default Function1<T3,R>
applyPartially(Tuple2<? extends T1,? extends T2> args)
Partially apply this function to the arguments.default Function0<R>
applyPartially(Tuple3<? extends T1,? extends T2,? extends T3> args)
Partially apply this function to the arguments.default Function2<T2,T3,R>
applyPartially(T1 v1)
Partially apply this function to the arguments.default Function1<T3,R>
applyPartially(T1 v1, T2 v2)
Partially apply this function to the arguments.default Function0<R>
applyPartially(T1 v1, T2 v2, T3 v3)
Partially apply this function to the arguments.default Function2<T2,T3,R>
curry(Tuple1<? extends T1> args)
Deprecated.- UseapplyPartially(Tuple1)
instead.default Function1<T3,R>
curry(Tuple2<? extends T1,? extends T2> args)
Deprecated.- UseapplyPartially(Tuple2)
instead.default Function0<R>
curry(Tuple3<? extends T1,? extends T2,? extends T3> args)
Deprecated.- UseapplyPartially(Tuple3)
instead.default Function2<T2,T3,R>
curry(T1 v1)
Deprecated.- UseapplyPartially(Object)
instead.default Function1<T3,R>
curry(T1 v1, T2 v2)
Deprecated.- UseapplyPartially(Object, Object)
instead.default Function0<R>
curry(T1 v1, T2 v2, T3 v3)
Deprecated.- UseapplyPartially(Object, Object, Object)
instead.
-
-
-
Method Detail
-
apply
default R apply(Tuple3<? extends T1,? extends T2,? extends T3> args)
Apply this function to the arguments.- Parameters:
args
- The arguments as a tuple.
-
applyPartially
default Function2<T2,T3,R> applyPartially(T1 v1)
Partially apply this function to the arguments.
-
applyPartially
default Function1<T3,R> applyPartially(T1 v1, T2 v2)
Partially apply this function to the arguments.
-
applyPartially
default Function0<R> applyPartially(T1 v1, T2 v2, T3 v3)
Partially apply this function to the arguments.
-
applyPartially
default Function2<T2,T3,R> applyPartially(Tuple1<? extends T1> args)
Partially apply this function to the arguments.
-
applyPartially
default Function1<T3,R> applyPartially(Tuple2<? extends T1,? extends T2> args)
Partially apply this function to the arguments.
-
applyPartially
default Function0<R> applyPartially(Tuple3<? extends T1,? extends T2,? extends T3> args)
Partially apply this function to the arguments.
-
curry
@Deprecated default Function2<T2,T3,R> curry(T1 v1)
Deprecated.- UseapplyPartially(Object)
instead.Partially apply this function to the arguments.
-
curry
@Deprecated default Function1<T3,R> curry(T1 v1, T2 v2)
Deprecated.- UseapplyPartially(Object, Object)
instead.Partially apply this function to the arguments.
-
curry
@Deprecated default Function0<R> curry(T1 v1, T2 v2, T3 v3)
Deprecated.- UseapplyPartially(Object, Object, Object)
instead.Partially apply this function to the arguments.
-
curry
@Deprecated default Function2<T2,T3,R> curry(Tuple1<? extends T1> args)
Deprecated.- UseapplyPartially(Tuple1)
instead.Partially apply this function to the arguments.
-
curry
@Deprecated default Function1<T3,R> curry(Tuple2<? extends T1,? extends T2> args)
Deprecated.- UseapplyPartially(Tuple2)
instead.Partially apply this function to the arguments.
-
-