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 Object
implements Observable.Operator<Notification<T>,T>
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
Lazy initialization via inner-class holder.(package private) static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSubscriber
<? super T> call
(Subscriber<? super Notification<T>> child) static <T> OperatorMaterialize
<T> instance()
-
Constructor Details
-
OperatorMaterialize
OperatorMaterialize()
-
-
Method Details
-
instance
- Type Parameters:
T
- the value type- Returns:
- a singleton instance of this stateless operator.
-
call
- Specified by:
call
in interfaceFunc1<Subscriber<? super Notification<T>>,
Subscriber<? super T>>
-