T - the source element typeU - the result typepublic static class Concat.FromIterable.Selector<T,U> extends java.lang.Object implements Observable<U>
Remark: RX calls this For.
| Modifier and Type | Field and Description |
|---|---|
protected Func1<? super T,? extends Observable<? extends U>> |
resultSelector
The result selector.
|
protected java.lang.Iterable<? extends T> |
source
The source sequence.
|
| Constructor and Description |
|---|
Selector(java.lang.Iterable<? extends T> source,
Func1<? super T,? extends Observable<? extends U>> resultSelector)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super U> observer)
Registers an observer for the notification of Ts.
|
@Nonnull protected final java.lang.Iterable<? extends T> source
@Nonnull protected final Func1<? super T,? extends Observable<? extends U>> resultSelector
public Selector(@Nonnull
java.lang.Iterable<? extends T> source,
@Nonnull
Func1<? super T,? extends Observable<? extends U>> resultSelector)
source - the source sequenceresultSelector - the observable selector@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