Top Description Fields Constructors Methods
rx.internal.operators

public final Class OperatorAny<T>

extends Object
implements Observable.Operator<Boolean, T>
Class Inheritance
All Implemented Interfaces
rx.Observable.Operator, rx.functions.Func1, rx.functions.Function
Type Parameters
<T>
the input value type
Imports
rx.*, .Observable.Operator, rx.exceptions.Exceptions, rx.functions.Func1, rx.internal.producers.SingleDelayedProducer, rx.plugins.RxJavaHooks

Returns an Observable that emits true if any element of an observable sequence satisfies a condition, otherwise false.

Field Summary

Modifier and TypeField and Description
pack-priv final Func1<? super T, Boolean>
pack-priv final boolean

Constructor Summary

AccessConstructor and Description
public
OperatorAny(Func1<? super T, Boolean> predicate, boolean returnOnEmpty)

Method Summary

Modifier and TypeMethod and Description
public Subscriber<? super T>
call(final Subscriber<? super Boolean> child)

Implements rx.functions.Func1.call.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

predicateback to summary
pack-priv final Func1<? super T, Boolean> predicate
returnOnEmptyback to summary
pack-priv final boolean returnOnEmpty

Constructor Detail

OperatorAnyback to summary
public OperatorAny(Func1<? super T, Boolean> predicate, boolean returnOnEmpty)

Method Detail

callback to summary
public Subscriber<? super T> call(final Subscriber<? super Boolean> child)

Implements rx.functions.Func1.call.

Annotations
@Override