T - the element typeU - the signaller element type, irrelevantpublic static class Take.Until<T,U> extends java.lang.Object implements Observable<T>
| Modifier and Type | Field and Description |
|---|---|
protected Observable<U> |
signaller |
protected Observable<? extends T> |
source |
| Constructor and Description |
|---|
Until(Observable<? extends T> source,
Observable<U> signaller)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super T> observer)
Registers an observer for the notification of Ts.
|
protected final Observable<U> signaller
protected final Observable<? extends T> source
public Until(Observable<? extends T> source, Observable<U> signaller)
source - the source of Tssignaller - the source of Us@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