Top Description Inners Constructors Methods
rx.internal.operators

public final Class OperatorAsObservable<T>

extends Object
implements Observable.Operator<T, T>
Class Inheritance
All Implemented Interfaces
rx.Observable.Operator, rx.functions.Func1, rx.functions.Function
Type Parameters
<T>
the return value type of the wrapped observable.
Imports
rx.Observable.Operator, .Subscriber

Hides the identity of another observable.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
OperatorAsObservable.Holder

Lazy initialization via inner-class holder.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Subscriber<? super T>
call(Subscriber<? super T> s)

Implements rx.functions.Func1.call.

public static <
the value type
T
>
OperatorAsObservable<T>

Returns:

a singleton instance of this stateless operator.
instance
()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

OperatorAsObservableback to summary
pack-priv OperatorAsObservable()

Method Detail

callback to summary
public Subscriber<? super T> call(Subscriber<? super T> s)

Implements rx.functions.Func1.call.

Annotations
@Override
instanceback to summary
public static <T> OperatorAsObservable<T> instance()
Parameters
<T>
the value type
Returns:OperatorAsObservable<T>

a singleton instance of this stateless operator.

Annotations
@SuppressWarnings:unchecked
rx.internal.operators back to summary

pack-priv final Class OperatorAsObservable.Holder

extends Object
Class Inheritance

Lazy initialization via inner-class holder.

Field Summary

Modifier and TypeField and Description
pack-priv static final OperatorAsObservable<Object>
INSTANCE

A singleton instance.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
pack-priv static final OperatorAsObservable<Object> INSTANCE

A singleton instance.

Constructor Detail

Holderback to summary
pack-priv Holder()