RxJava



rx.operators
Class OperationConcat

java.lang.Object
  extended by rx.operators.OperationConcat

public final class OperationConcat
extends java.lang.Object

Returns an Observable that emits the items emitted by two or more Observables, one after the other.


Constructor Summary
OperationConcat()
           
 
Method Summary
static
<T> Observable.OnSubscribeFunc<T>
concat(java.lang.Iterable<? extends Observable<? extends T>> sequences)
           
static
<T> Observable.OnSubscribeFunc<T>
concat(Observable<? extends Observable<? extends T>> sequences)
           
static
<T> Observable.OnSubscribeFunc<T>
concat(Observable<? extends T>... sequences)
          Combine the observable sequences from the list of Observables into one observable sequence without any transformation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationConcat

public OperationConcat()
Method Detail

concat

public static <T> Observable.OnSubscribeFunc<T> concat(Observable<? extends T>... sequences)
Combine the observable sequences from the list of Observables into one observable sequence without any transformation. If either the outer observable or an inner observable calls onError, we will call onError.

Parameters:
sequences - An observable sequence of elements to project.
Returns:
An observable sequence whose elements are the result of combining the output from the list of Observables.

concat

public static <T> Observable.OnSubscribeFunc<T> concat(java.lang.Iterable<? extends Observable<? extends T>> sequences)

concat

public static <T> Observable.OnSubscribeFunc<T> concat(Observable<? extends Observable<? extends T>> sequences)