RxJava



rx.operators
Class OperatorElementAt<T>

java.lang.Object
  extended by rx.operators.OperatorElementAt<T>
All Implemented Interfaces:
Func1<Subscriber<? super T>,Subscriber<? super T>>, Function, Observable.Operator<T,T>

public final class OperatorElementAt<T>
extends java.lang.Object
implements Observable.Operator<T,T>

Returns the element at a specified index in a sequence.


Constructor Summary
OperatorElementAt(int index)
           
OperatorElementAt(int index, T defaultValue)
           
 
Method Summary
 Subscriber<? super T> call(Subscriber<? super T> subscriber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorElementAt

public OperatorElementAt(int index)

OperatorElementAt

public OperatorElementAt(int index,
                         T defaultValue)
Method Detail

call

public Subscriber<? super T> call(Subscriber<? super T> subscriber)
Specified by:
call in interface Func1<Subscriber<? super T>,Subscriber<? super T>>