T - the source element typepublic static final class Containment.All<T> extends java.lang.Object implements Observable<java.lang.Boolean>
| Constructor and Description |
|---|
All(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 All(@Nonnull
Observable<? extends T> source,
@Nonnull
Func1<? super T,java.lang.Boolean> predicate)
source - Ths sourcepredicate - the predicate function@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