public final class Actions extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T0 |
empty()
|
static Func0 |
toFunc(Action0
Converts an
Action0 to a function that calls the action and returns
null.
|
static <R> Func0 |
toFunc(Action0
Converts an
Action0 to a function that calls the action and returns a specified value.
|
static <T1> Func1 |
toFunc(Action1
Converts an
Action1 to a function that calls the action and returns
null.
|
static <T1 |
toFunc(Action1
Converts an
Action1 to a function that calls the action and returns a specified value.
|
static <T1 |
toFunc(Action2
Converts an
Action2 to a function that calls the action and returns
null.
|
static <T1 |
toFunc(Action2
Converts an
Action2 to a function that calls the action and returns a specified value.
|
static <T1 |
toFunc(Action3
Converts an
Action3 to a function that calls the action and returns
null.
|
static <T1 |
toFunc(Action3
Converts an
Action3 to a function that calls the action and returns a specified value.
|
static <T1 |
toFunc(Action4
Converts an
Action4 to a function that calls the action and returns
null.
|
static <T1 |
toFunc(Action4
Converts an
Action4 to a function that calls the action and returns a specified value.
|
static <T1 |
toFunc(Action5
Converts an
Action5 to a function that calls the action and returns
null.
|
static <T1 |
toFunc(Action5
Converts an
Action5 to a function that calls the action and returns a specified value.
|
static <T1 |
toFunc(Action6
Converts an
Action6 to a function that calls the action and returns
null.
|
static <T1 |
toFunc(Action6
Converts an
Action6 to a function that calls the action and returns a specified value.
|
static <T1 |
toFunc(Action7
Converts an
Action7 to a function that calls the action and returns
null.
|
static <T1 |
toFunc(Action7
Converts an
Action7 to a function that calls the action and returns a specified value.
|
static <T1 |
toFunc(Action8
Converts an
Action8 to a function that calls the action and returns
null.
|
static <T1 |
toFunc(Action8
Converts an
Action8 to a function that calls the action and returns a specified value.
|
static <T1 |
toFunc(Action9
Converts an
Action9 to a function that calls the action and returns
null.
|
static <T1 |
toFunc(Action9
Converts an
Action9 to a function that calls the action and returns a specified value.
|
static FuncN |
toFunc(ActionN
Converts an
ActionN to a function that calls the action and returns
null.
|
static <R> FuncN |
toFunc(ActionN
Converts an
ActionN to a function that calls the action and returns a specified value.
|
public static <T0,T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8> rx .functions .Actions .EmptyAction <T0 ,T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8> empty()
public static Func0<Void > toFunc(Action0 action)
Action0 to a function that calls the action and returns
null.
public static <T1> Func1<T1 ,Void > toFunc(Action1 <T1> action)
Action1 to a function that calls the action and returns
null.
public static <T1,T2> Func2 <T1 ,T2 ,Void > toFunc(Action2 <T1 ,T2> action)
Action2 to a function that calls the action and returns
null.
public static <T1,T2 ,T3> Func3 <T1 ,T2 ,T3 ,Void > toFunc(Action3 <T1 ,T2 ,T3> action)
Action3 to a function that calls the action and returns
null.
public static <T1,T2 ,T3 ,T4> Func4 <T1 ,T2 ,T3 ,T4 ,Void > toFunc(Action4 <T1 ,T2 ,T3 ,T4> action)
Action4 to a function that calls the action and returns
null.
public static <T1,T2 ,T3 ,T4 ,T5> Func5 <T1 ,T2 ,T3 ,T4 ,T5 ,Void > toFunc(Action5 <T1 ,T2 ,T3 ,T4 ,T5> action)
Action5 to a function that calls the action and returns
null.
public static <T1,T2 ,T3 ,T4 ,T5 ,T6> Func6 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,Void > toFunc(Action6 <T1 ,T2 ,T3 ,T4 ,T5 ,T6> action)
Action6 to a function that calls the action and returns
null.
public static <T1,T2 ,T3 ,T4 ,T5 ,T6 ,T7> Func7 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,Void > toFunc(Action7 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7> action)
Action7 to a function that calls the action and returns
null.
public static <T1,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8> Func8 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8 ,Void > toFunc(Action8 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8> action)
Action8 to a function that calls the action and returns
null.
public static <T1,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8 ,T9> Func9 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8 ,T9 ,Void > toFunc(Action9 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8 ,T9> action)
Action9 to a function that calls the action and returns
null.
public static FuncN<Void > toFunc(ActionN action)
ActionN to a function that calls the action and returns
null.
public static <R> Func0<R> toFunc(Action0 action, R result)
Action0 to a function that calls the action and returns a specified value.
public static <T1,R> Func1 <T1 ,R> toFunc(Action1 <T1> action, R result)
Action1 to a function that calls the action and returns a specified value.
public static <T1,T2 ,R> Func2 <T1 ,T2 ,R> toFunc(Action2 <T1 ,T2> action, R result)
Action2 to a function that calls the action and returns a specified value.
public static <T1,T2 ,T3 ,R> Func3 <T1 ,T2 ,T3 ,R> toFunc(Action3 <T1 ,T2 ,T3> action, R result)
Action3 to a function that calls the action and returns a specified value.
public static <T1,T2 ,T3 ,T4 ,R> Func4 <T1 ,T2 ,T3 ,T4 ,R> toFunc(Action4 <T1 ,T2 ,T3 ,T4> action, R result)
Action4 to a function that calls the action and returns a specified value.
public static <T1,T2 ,T3 ,T4 ,T5 ,R> Func5 <T1 ,T2 ,T3 ,T4 ,T5 ,R> toFunc(Action5 <T1 ,T2 ,T3 ,T4 ,T5> action, R result)
Action5 to a function that calls the action and returns a specified value.
public static <T1,T2 ,T3 ,T4 ,T5 ,T6 ,R> Func6 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,R> toFunc(Action6 <T1 ,T2 ,T3 ,T4 ,T5 ,T6> action, R result)
Action6 to a function that calls the action and returns a specified value.
public static <T1,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,R> Func7 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,R> toFunc(Action7 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7> action, R result)
Action7 to a function that calls the action and returns a specified value.
public static <T1,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8 ,R> Func8 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8 ,R> toFunc(Action8 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8> action, R result)
Action8 to a function that calls the action and returns a specified value.
public static <T1,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8 ,T9 ,R> Func9 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8 ,T9 ,R> toFunc(Action9 <T1 ,T2 ,T3 ,T4 ,T5 ,T6 ,T7 ,T8 ,T9> action, R result)
Action9 to a function that calls the action and returns a specified value.