T - the element typepublic static final class Where.LongIndexed<T> extends java.lang.Object implements Observable<T>
| Constructor and Description |
|---|
LongIndexed(Observable<? extends T> source,
Func2<? super T,? super java.lang.Long,java.lang.Boolean> clause)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super T> observer)
Registers an observer for the notification of Ts.
|
public LongIndexed(Observable<? extends T> source, Func2<? super T,? super java.lang.Long,java.lang.Boolean> clause)
source - the source of Tsclause - the filter clause, the first parameter receives the current index, the second receives the current element@Nonnull
public java.io.Closeable register(@Nonnull
Observer<? super T> observer)
Observableregister in interface Observable<T>observer - the observer of Ts or any supertype of it