T - the element typepublic static final class Repeat.WhileDo<T> extends java.lang.Object implements Observable<T>
| Constructor and Description |
|---|
WhileDo(Observable<? extends T> source,
Func0<java.lang.Boolean> condition) |
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super T> observer)
Registers an observer for the notification of Ts.
|
public WhileDo(Observable<? extends T> source, Func0<java.lang.Boolean> condition)
source - the source sequencecondition - the condition to check@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