|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrx.util.functions.Actions
@Deprecated public final class Actions
| Method Summary | ||
|---|---|---|
static rx.util.functions.Actions.EmptyAction |
empty()
Deprecated. |
|
static
|
onCompletedFrom(Observer<T> observer)
Deprecated. Extracts a method reference to the observer's onCompleted method in the form of an Action0. |
|
static
|
onErrorFrom(Observer<T> observer)
Deprecated. Extracts a method reference to the observer's onError method in the form of an Action1. |
|
static
|
onNextFrom(Observer<T> observer)
Deprecated. Extracts a method reference to the observer's onNext method in the form of an Action1. |
|
static Func0<java.lang.Void> |
toFunc(Action0 action)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action0 action,
R result)
Deprecated. Convert an action to a function which calls the action returns the given result. |
|
static
|
toFunc(Action1<T1> action)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action1<T1> action,
R result)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action2<T1,T2> action)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action2<T1,T2> action,
R result)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action3<T1,T2,T3> action)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action3<T1,T2,T3> action,
R result)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action4<T1,T2,T3,T4> action)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action4<T1,T2,T3,T4> action,
R result)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action5<T1,T2,T3,T4,T5> action)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action5<T1,T2,T3,T4,T5> action,
R result)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action6<T1,T2,T3,T4,T5,T6> action)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action6<T1,T2,T3,T4,T5,T6> action,
R result)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action7<T1,T2,T3,T4,T5,T6,T7> action)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action7<T1,T2,T3,T4,T5,T6,T7> action,
R result)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action8<T1,T2,T3,T4,T5,T6,T7,T8> action)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action8<T1,T2,T3,T4,T5,T6,T7,T8> action,
R result)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action9<T1,T2,T3,T4,T5,T6,T7,T8,T9> action)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(Action9<T1,T2,T3,T4,T5,T6,T7,T8,T9> action,
R result)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static FuncN<java.lang.Void> |
toFunc(ActionN action)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
static
|
toFunc(ActionN action,
R result)
Deprecated. Convert an action to a function which calls the action returns Void (null). |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final rx.util.functions.Actions.EmptyAction empty()
public static <T> Action1<T> onNextFrom(Observer<T> observer)
Java 8: observer::onNext
observer - the observer to use
public static <T> Action1<java.lang.Throwable> onErrorFrom(Observer<T> observer)
Java 8: observer::onError
observer - the observer to use
public static <T> Action0 onCompletedFrom(Observer<T> observer)
Java 8: observer::onCompleted
observer - the observer to use
public static Func0<java.lang.Void> toFunc(Action0 action)
action -
Func0public static <T1> Func1<T1,java.lang.Void> toFunc(Action1<T1> action)
action -
Func0public static <T1,T2> Func2<T1,T2,java.lang.Void> toFunc(Action2<T1,T2> action)
action -
Func0public static <T1,T2,T3> Func3<T1,T2,T3,java.lang.Void> toFunc(Action3<T1,T2,T3> action)
action -
Func0public static <T1,T2,T3,T4> Func4<T1,T2,T3,T4,java.lang.Void> toFunc(Action4<T1,T2,T3,T4> action)
action -
Func0public static <T1,T2,T3,T4,T5> Func5<T1,T2,T3,T4,T5,java.lang.Void> toFunc(Action5<T1,T2,T3,T4,T5> action)
action -
Func0public static <T1,T2,T3,T4,T5,T6> Func6<T1,T2,T3,T4,T5,T6,java.lang.Void> toFunc(Action6<T1,T2,T3,T4,T5,T6> action)
action -
Func0public static <T1,T2,T3,T4,T5,T6,T7> Func7<T1,T2,T3,T4,T5,T6,T7,java.lang.Void> toFunc(Action7<T1,T2,T3,T4,T5,T6,T7> action)
action -
Func0public static <T1,T2,T3,T4,T5,T6,T7,T8> Func8<T1,T2,T3,T4,T5,T6,T7,T8,java.lang.Void> toFunc(Action8<T1,T2,T3,T4,T5,T6,T7,T8> action)
action -
Func0public static <T1,T2,T3,T4,T5,T6,T7,T8,T9> Func9<T1,T2,T3,T4,T5,T6,T7,T8,T9,java.lang.Void> toFunc(Action9<T1,T2,T3,T4,T5,T6,T7,T8,T9> action)
action -
Func0public static FuncN<java.lang.Void> toFunc(ActionN action)
action -
Func0
public static <R> Func0<R> toFunc(Action0 action,
R result)
action - result -
Func0
public static <T1,R> Func1<T1,R> toFunc(Action1<T1> action,
R result)
action - result -
Func0
public static <T1,T2,R> Func2<T1,T2,R> toFunc(Action2<T1,T2> action,
R result)
action - result -
Func0
public static <T1,T2,T3,R> Func3<T1,T2,T3,R> toFunc(Action3<T1,T2,T3> action,
R result)
action - result -
Func0
public static <T1,T2,T3,T4,R> Func4<T1,T2,T3,T4,R> toFunc(Action4<T1,T2,T3,T4> action,
R result)
action - result -
Func0
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)
action - result -
Func0
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)
action - result -
Func0
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)
action - result -
Func0
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)
action - result -
Func0
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)
action - result -
Func0
public static <R> FuncN<R> toFunc(ActionN action,
R result)
action - result -
Func0
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||