T - the source element typeU - the output element typepublic static final class Select.LongIndexed<T,U> extends java.lang.Object implements Observable<U>
| Constructor and Description |
|---|
LongIndexed(Observable<? extends T> source,
Func2<? super T,? super java.lang.Long,? extends U> selector)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super U> observer)
Registers an observer for the notification of Ts.
|
public LongIndexed(Observable<? extends T> source, Func2<? super T,? super java.lang.Long,? extends U> selector)
source - the source observableselector - the selector taking an index and the current T@Nonnull
public java.io.Closeable register(@Nonnull
Observer<? super U> observer)
Observableregister in interface Observable<U>observer - the observer of Ts or any supertype of it