rxjava 2.2.21
io.reactivex.functions
Predicate
Top
Description
Methods
io.reactivex.functions
public
Interface Predicate<T>
Known Direct Subinterfaces
io.
reactivex.
internal.
util.
AppendOnlyLinkedArrayList.
NonThrowingPredicate
Known Direct Implementers
io.
reactivex.
internal.
functions.
Functions.
EqualsPredicate
,
io.
reactivex.
internal.
functions.
Functions.
ClassFilter
,
io.
reactivex.
internal.
functions.
Functions.
BooleanSupplierPredicateReverse
,
io.
reactivex.
internal.
functions.
Functions.
TruePredicate
,
io.
reactivex.
internal.
functions.
Functions.
FalsePredicate
Type Parameters
<T>
the first value
Imports
io.
reactivex.
annotations.
NonNull
A functional interface (callback) that returns true or false for the given input value.
Method Summary
Modifier and Type
Method and Description
public
boolean
Returns:
the boolean result
test
(
T
the value
t
)
Test the given input value and return a boolean.
Method Detail
test
back to summary
public
boolean
test
(
T t
)
throws
Exception
Test the given input value and return a boolean.
Parameters
t:
T
the value
Returns:
boolean
the boolean result
Exceptions
Exception
:
on error