public final class Actions
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| static <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>  | empty() | 
| static <T> Action0 | onCompletedFrom(Observer<T> observer)Extracts a method reference to the observer's onCompleted method
 in the form of an Action0. | 
| static <T> Action1<java.lang.Throwable> | onErrorFrom(Observer<T> observer)Extracts a method reference to the observer's onError method
 in the form of an Action1. | 
| static <T> Action1<T> | onNextFrom(Observer<T> observer)Extracts a method reference to the observer's onNext method
 in the form of an Action1. | 
| static Func0<java.lang.Void> | toFunc(Action0 action)Convert an action to a function which calls
 the action returns Void (null). | 
| static <R> Func0<R> | toFunc(Action0 action,
      R result)Convert an action to a function which calls
 the action returns the given result. | 
| static <T1> Func1<T1,java.lang.Void> | toFunc(Action1<T1> action)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,R> Func1<T1,R> | toFunc(Action1<T1> action,
      R result)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2> Func2<T1,T2,java.lang.Void> | toFunc(Action2<T1,T2> action)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,R> Func2<T1,T2,R> | toFunc(Action2<T1,T2> action,
      R result)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3> Func3<T1,T2,T3,java.lang.Void> | toFunc(Action3<T1,T2,T3> action)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,R>  | toFunc(Action3<T1,T2,T3> action,
      R result)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,T4>  | toFunc(Action4<T1,T2,T3,T4> action)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,T4,R>  | toFunc(Action4<T1,T2,T3,T4> action,
      R result)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,T4,T5>  | toFunc(Action5<T1,T2,T3,T4,T5> action)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,T4,T5,R>  | toFunc(Action5<T1,T2,T3,T4,T5> action,
      R result)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,T4,T5,T6>  | toFunc(Action6<T1,T2,T3,T4,T5,T6> action)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,T4,T5,T6,R>  | toFunc(Action6<T1,T2,T3,T4,T5,T6> action,
      R result)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,T4,T5,T6,T7>  | toFunc(Action7<T1,T2,T3,T4,T5,T6,T7> action)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,T4,T5,T6,T7,R>  | toFunc(Action7<T1,T2,T3,T4,T5,T6,T7> action,
      R result)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,T4,T5,T6,T7,T8>  | toFunc(Action8<T1,T2,T3,T4,T5,T6,T7,T8> action)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,T4,T5,T6,T7,T8,R>  | toFunc(Action8<T1,T2,T3,T4,T5,T6,T7,T8> action,
      R result)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,T4,T5,T6,T7,T8,T9>  | toFunc(Action9<T1,T2,T3,T4,T5,T6,T7,T8,T9> action)Convert an action to a function which calls
 the action returns Void (null). | 
| static <T1,T2,T3,T4,T5,T6,T7,T8,T9,R>  | toFunc(Action9<T1,T2,T3,T4,T5,T6,T7,T8,T9> action,
      R result)Convert an action to a function which calls
 the action returns Void (null). | 
| static FuncN<java.lang.Void> | toFunc(ActionN action)Convert an action to a function which calls
 the action returns Void (null). | 
| static <R> FuncN<R> | toFunc(ActionN action,
      R result)Convert an action to a function which calls
 the action returns Void (null). | 
public static final <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9> rx.functions.Actions.EmptyAction<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9> empty()
public static <T> Action1<T> onNextFrom(Observer<T> observer)
Java 8: observer::onNext
observer - the observer to usepublic static <T> Action1<java.lang.Throwable> onErrorFrom(Observer<T> observer)
Java 8: observer::onError
observer - the observer to usepublic static <T> Action0 onCompletedFrom(Observer<T> observer)
Java 8: observer::onCompleted
observer - the observer to usepublic 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 - Func0public static <R> Func0<R> toFunc(Action0 action, R result)
action - result - Func0public static <T1,R> Func1<T1,R> toFunc(Action1<T1> action, R result)
action - result - Func0public static <T1,T2,R> Func2<T1,T2,R> toFunc(Action2<T1,T2> action, R result)
action - result - Func0public static <T1,T2,T3,R> Func3<T1,T2,T3,R> toFunc(Action3<T1,T2,T3> action, R result)
action - result - Func0public static <T1,T2,T3,T4,R> Func4<T1,T2,T3,T4,R> toFunc(Action4<T1,T2,T3,T4> action, R result)
action - result - Func0public 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 - Func0public 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 - Func0public 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 - Func0public 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 - Func0public 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