RxJava



rx.operators
Class OperationMaterialize

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

public final class OperationMaterialize
extends java.lang.Object

Turns all of the notifications from an Observable into onNext emissions, and marks them with their original notification types within Notification objects.

See here for the Microsoft Rx equivalent.


Constructor Summary
OperationMaterialize()
           
 
Method Summary
static
<T> Observable.OnSubscribeFunc<Notification<T>>
materialize(Observable<? extends T> sequence)
          Materializes the implicit notifications of an observable sequence as explicit notification values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationMaterialize

public OperationMaterialize()
Method Detail

materialize

public static <T> Observable.OnSubscribeFunc<Notification<T>> materialize(Observable<? extends T> sequence)
Materializes the implicit notifications of an observable sequence as explicit notification values.

Parameters:
sequence - An observable sequence of elements to project.
Returns:
An observable sequence whose elements are the result of materializing the notifications of the given sequence.
See Also:
Observable.Materialize(TSource) Method