public final class Functions extends Object
| Modifier and Type | Method and Description |
|---|---|
static FuncN<Void> |
fromAction(Action0 f)
|
static <T0> FuncN<Void> |
fromAction(Action1<? super T0> f)
|
static <T0,T1> FuncN<Void> |
fromAction(Action2<? super T0,? super T1> f)
|
static <T0,T1,T2> FuncN<Void> |
fromAction(Action3<? super T0,? super T1,? super T2> f)
|
static <R> FuncN<R> |
fromFunc(Func0<? extends R> f)
|
static <T0,R> FuncN<R> |
fromFunc(Func1<? super T0,? extends R> f)
|
static <T0,T1,R> FuncN<R> |
fromFunc(Func2<? super T0,? super T1,? extends R> f)
|
static <T0,T1,T2,R> |
fromFunc(Func3<? super T0,? super T1,? super T2,? extends R> f)
|
static <T0,T1,T2,T3,R> |
fromFunc(Func4<? super T0,? super T1,? super T2,? super T3,? extends R> f)
|
static <T0,T1,T2,T3,T4,R> |
fromFunc(Func5<? super T0,? super T1,? super T2,? super T3,? super T4,? extends R> f)
|
static <T0,T1,T2,T3,T4,T5,R> |
fromFunc(Func6<? super T0,? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
|
static <T0,T1,T2,T3,T4,T5,T6,R> |
fromFunc(Func7<? super T0,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
|
static <T0,T1,T2,T3,T4,T5,T6,T7,R> |
fromFunc(Func8<? super T0,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends R> f)
|
static <T0,T1,T2,T3,T4,T5,T6,T7,T8,R> |
fromFunc(Func9<? super T0,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> f)
|
public static <R> FuncN<R> fromFunc(Func0<? extends R> f)
R - the result typef - the Func0 to convertFuncN representation of fpublic static <T0,R> FuncN<R> fromFunc(Func1<? super T0,? extends R> f)
T0 - the first argument typeR - the result typef - the Func1 to convertFuncN representation of fpublic static <T0,T1,R> FuncN<R> fromFunc(Func2<? super T0,? super T1,? extends R> f)
T0 - the first argument typeT1 - the second argument typeR - the result typef - the Func2 to convertFuncN representation of fpublic static <T0,T1,T2,R> FuncN<R> fromFunc(Func3<? super T0,? super T1,? super T2,? extends R> f)
T0 - the first argument typeT1 - the second argument typeT2 - the third argument typeR - the result typef - the Func3 to convertFuncN representation of fpublic static <T0,T1,T2,T3,R> FuncN<R> fromFunc(Func4<? super T0,? super T1,? super T2,? super T3,? extends R> f)
T0 - the first argument typeT1 - the second argument typeT2 - the third argument typeT3 - the fourth argument typeR - the result typef - the Func4 to convertFuncN representation of fpublic static <T0,T1,T2,T3,T4,R> FuncN<R> fromFunc(Func5<? super T0,? super T1,? super T2,? super T3,? super T4,? extends R> f)
T0 - the first argument typeT1 - the second argument typeT2 - the third argument typeT3 - the fourth argument typeT4 - the fifth argument typeR - the result typef - the Func5 to convertFuncN representation of fpublic static <T0,T1,T2,T3,T4,T5,R> FuncN<R> fromFunc(Func6<? super T0,? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
T0 - the first argument typeT1 - the second argument typeT2 - the third argument typeT3 - the fourth argument typeT4 - the fifth argument typeT5 - the sixth argument typeR - the result typef - the Func6 to convertFuncN representation of fpublic static <T0,T1,T2,T3,T4,T5,T6,R> FuncN<R> fromFunc(Func7<? super T0,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
T0 - the first argument typeT1 - the second argument typeT2 - the third argument typeT3 - the fourth argument typeT4 - the fifth argument typeT5 - the sixth argument typeT6 - the seventh argument typeR - the result typef - the Func7 to convertFuncN representation of fpublic static <T0,T1,T2,T3,T4,T5,T6,T7,R> FuncN<R> fromFunc(Func8<? super T0,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends R> f)
T0 - the first argument typeT1 - the second argument typeT2 - the third argument typeT3 - the fourth argument typeT4 - the fifth argument typeT5 - the sixth argument typeT6 - the seventh argument typeT7 - the eigth argument typeR - the result typef - the Func8 to convertFuncN representation of fpublic static <T0,T1,T2,T3,T4,T5,T6,T7,T8,R> FuncN<R> fromFunc(Func9<? super T0,? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> f)
T0 - the first argument typeT1 - the second argument typeT2 - the third argument typeT3 - the fourth argument typeT4 - the fifth argument typeT5 - the sixth argument typeT6 - the seventh argument typeT7 - the eigth argument typeT8 - the ninth argument typeR - the result typef - the Func9 to convertFuncN representation of fpublic static FuncN<Void> fromAction(Action0 f)
f - the Action0 to convertFuncN representation of fpublic static <T0> FuncN<Void> fromAction(Action1<? super T0> f)
T0 - the first argument typef - the Action1 to convertFuncN representation of fpublic static <T0,T1> FuncN<Void> fromAction(Action2<? super T0,? super T1> f)
T0 - the first argument typeT1 - the second argument typef - the Action2 to convertFuncN representation of fCopyright © 2025. All rights reserved.