public final class OperatorAny<T> extends java.lang.Object implements Observable.Operator<java.lang.Boolean,T>
Observable
that emits true
if any element of
an observable sequence satisfies a condition, otherwise false
.Constructor and Description |
---|
OperatorAny(Func1<? super T,java.lang.Boolean> predicate,
boolean returnOnEmpty) |
Modifier and Type | Method and Description |
---|---|
Subscriber<? super T> |
call(Subscriber<? super java.lang.Boolean> child) |
public Subscriber<? super T> call(Subscriber<? super java.lang.Boolean> child)
call
in interface Func1<Subscriber<? super java.lang.Boolean>,Subscriber<? super T>>