Uses of Interface
rx.functions.Func4

Packages that use Func4
Package
Description
Base reactive classes: Observable, Single and Completable; base reactive consumers; other common base interfaces.
Functional interfaces of functions and actions of arity 0 to 9 and related utility classes.
Operators that allow composing Observables to transform and manipulate data in an asynchronous, functional and thread-safe manner.
  • Uses of Func4 in rx

    Methods in rx with parameters of type Func4
    Modifier and Type
    Method
    Description
    static <T1, T2, T3, T4, R>
    Observable<R>
    Observable.combineLatest(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Func4<? super T1,? super T2,? super T3,? super T4,? extends R> combineFunction)
    Combines four source Observables by emitting an item that aggregates the latest values of each of the source Observables each time an item is received from any of the source Observables, where this aggregation is defined by a specified function.
    final <T1, T2, T3, R>
    Observable<R>
    Observable.withLatestFrom(Observable<T1> o1, Observable<T2> o2, Observable<T3> o3, Func4<? super T,? super T1,? super T2,? super T3,R> combiner)
    Combines the value emission from this Observable with the latest emissions from the other Observables via a function to produce the output item.
    static <T1, T2, T3, T4, R>
    Observable<R>
    Observable.zip(Observable<? extends T1> o1, Observable<? extends T2> o2, Observable<? extends T3> o3, Observable<? extends T4> o4, Func4<? super T1,? super T2,? super T3,? super T4,? extends R> zipFunction)
    Returns an Observable that emits the results of a specified combiner function applied to combinations of four items emitted, in sequence, by four other Observables.
    static <T1, T2, T3, T4, R>
    Single<R>
    Single.zip(Single<? extends T1> s1, Single<? extends T2> s2, Single<? extends T3> s3, Single<? extends T4> s4, Func4<? super T1,? super T2,? super T3,? super T4,? extends R> zipFunction)
    Returns an Observable that emits the results of a specified combiner function applied to four items emitted by four other Singles.
  • Uses of Func4 in rx.functions

    Methods in rx.functions that return Func4
    Modifier and Type
    Method
    Description
    static <T1, T2, T3, T4>
    Func4<T1,T2,T3,T4,Void>
    Actions.toFunc(Action4<T1,T2,T3,T4> action)
    Converts an Action4 to a function that calls the action and returns null.
    static <T1, T2, T3, T4, R>
    Func4<T1,T2,T3,T4,R>
    Actions.toFunc(Action4<T1,T2,T3,T4> action, R result)
    Converts an Action4 to a function that calls the action and returns a specified value.
    Methods in rx.functions with parameters of type Func4
    Modifier and Type
    Method
    Description
    static <T0, T1, T2, T3, R>
    FuncN<R>
    Functions.fromFunc(Func4<? super T0,? super T1,? super T2,? super T3,? extends R> f)
    Converts a Func4 to a FuncN to allow heterogeneous handling of functions with different arities.
  • Uses of Func4 in rx.internal.operators

    Subinterfaces of Func4 in rx.internal.operators
    Modifier and Type
    Interface
    Description
    (package private) static interface 
    Set up the timeout action based on every value
    Constructors in rx.internal.operators with parameters of type Func4
    Modifier
    Constructor
    Description