T - the type of the source datapublic static final class Containment.Any<T> extends java.lang.Object implements Observable<java.lang.Boolean>
| Constructor and Description |
|---|
Any(Observable<? extends T> source,
Func1<? super T,java.lang.Boolean> predicate)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super java.lang.Boolean> observer)
Registers an observer for the notification of Ts.
|
public Any(Observable<? extends T> source, Func1<? super T,java.lang.Boolean> predicate)
source - the source observablepredicate - the predicate to satisfy@Nonnull
public java.io.Closeable register(@Nonnull
Observer<? super java.lang.Boolean> observer)
Observableregister in interface Observable<java.lang.Boolean>observer - the observer of Ts or any supertype of it