Top Description Methods
io.reactivex.rxjava3.functions

public Interface Predicate<T>

Known Direct Subinterfaces
io.reactivex.rxjava3.internal.util.AppendOnlyLinkedArrayList.NonThrowingPredicate
Known Direct Implementers
io.reactivex.rxjava3.internal.functions.Functions.EqualsPredicate, io.reactivex.rxjava3.internal.functions.Functions.ClassFilter, io.reactivex.rxjava3.internal.functions.Functions.BooleanSupplierPredicateReverse, io.reactivex.rxjava3.internal.functions.Functions.TruePredicate, io.reactivex.rxjava3.internal.functions.Functions.FalsePredicate
Annotations
@FunctionalInterface
Type Parameters
<T>
the first value
Imports
io.reactivex.rxjava3.annotations.NonNull

A functional interface (callback) that returns true or false for the given input value.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

the boolean result
test
(T
the value
t
)

Test the given input value and return a boolean.

Method Detail

testback to summary
public boolean test(T t) throws Throwable

Test the given input value and return a boolean.

Parameters
t:T

the value

Returns:boolean

the boolean result

Exceptions
Throwable:
if the implementation wishes to throw any type of exception