T - the element typepublic static final class Where.IndexedFactory<T> extends java.lang.Object implements Observable<T>
| Constructor and Description |
|---|
IndexedFactory(Observable<? extends T> source,
Func0<? extends Func2<? super T,? super java.lang.Integer,java.lang.Boolean>> clauseFactory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super T> observer)
Registers an observer for the notification of Ts.
|
public IndexedFactory(Observable<? extends T> source, Func0<? extends Func2<? super T,? super java.lang.Integer,java.lang.Boolean>> clauseFactory)
source - the source of TsclauseFactory - 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