T - the type of the original observableU - the type of the new observablepublic static final class Select.Simple<T,U> extends java.lang.Object implements Observable<U>
| Constructor and Description |
|---|
Simple(Observable<? extends T> source,
Func1<? super T,? extends U> mapper)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super U> observer)
Registers an observer for the notification of Ts.
|
public Simple(Observable<? extends T> source, Func1<? super T,? extends U> mapper)
source - the source of Tsmapper - the mapper from Ts to Us@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