T - the element typespublic static final class Skip.While<T> extends java.lang.Object implements Observable<T>
| Constructor and Description |
|---|
While(Observable<? extends T> source,
Func1<? super T,java.lang.Boolean> condition)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super T> observer)
Registers an observer for the notification of Ts.
|
public While(Observable<? extends T> source, Func1<? super T,java.lang.Boolean> condition)
source - the source of Tscondition - the condition that must turn false in order to start relaying@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