Package rx.internal.operators
Class OperatorElementAt<T>
java.lang.Object
rx.internal.operators.OperatorElementAt<T>
- Type Parameters:
T- the value type
- All Implemented Interfaces:
Func1<Subscriber<? super T>,,Subscriber<? super T>> Function,Observable.Operator<T,T>
Returns the element at a specified index in a sequence.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classA producer that wraps another Producer and requests Long.MAX_VALUE when the first positive request() call comes in. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final T(package private) final boolean(package private) final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionOperatorElementAt(int index) OperatorElementAt(int index, T defaultValue) privateOperatorElementAt(int index, T defaultValue, boolean hasDefault) -
Method Summary
-
Field Details
-
index
final int index -
hasDefault
final boolean hasDefault -
defaultValue
-
-
Constructor Details
-
OperatorElementAt
public OperatorElementAt(int index) -
OperatorElementAt
-
OperatorElementAt
-
-
Method Details
-
call
- Specified by:
callin interfaceFunc1<Subscriber<? super T>,Subscriber<? super T>>
-