Package rx.internal.operators
Class OperatorMaterialize<T>
- java.lang.Object
-
- rx.internal.operators.OperatorMaterialize<T>
-
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
Func1<Subscriber<? super Notification<T>>,Subscriber<? super T>>
,Function
,Observable.Operator<Notification<T>,T>
public final class OperatorMaterialize<T> extends java.lang.Object implements Observable.Operator<Notification<T>,T>
Turns all of the notifications from an Observable intoonNext
emissions, and marks them with their original notification types withinNotification
objects.See here for the Microsoft Rx equivalent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
OperatorMaterialize.Holder
Lazy initialization via inner-class holder.(package private) static class
OperatorMaterialize.ParentSubscriber<T>
-
Constructor Summary
Constructors Constructor Description OperatorMaterialize()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Subscriber<? super T>
call(Subscriber<? super Notification<T>> child)
static <T> OperatorMaterialize<T>
instance()
-
-
-
Method Detail
-
instance
public static <T> OperatorMaterialize<T> instance()
- Type Parameters:
T
- the value type- Returns:
- a singleton instance of this stateless operator.
-
call
public Subscriber<? super T> call(Subscriber<? super Notification<T>> child)
- Specified by:
call
in interfaceFunc1<Subscriber<? super Notification<T>>,Subscriber<? super T>>
-
-