Package io.reactivex.rxjava3.functions
Interface Predicate<T>
- Type Parameters:
T
- the first value
- All Known Subinterfaces:
AppendOnlyLinkedArrayList.NonThrowingPredicate<T>
- All Known Implementing Classes:
BehaviorProcessor.BehaviorSubscription
,BehaviorSubject.BehaviorDisposable
,Functions.BooleanSupplierPredicateReverse
,Functions.ClassFilter
,Functions.EqualsPredicate
,Functions.FalsePredicate
,Functions.TruePredicate
,SerializedSubject
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface (callback) that returns true or false for the given input value.
-
Method Summary
-
Method Details
-
test
Test the given input value and return a boolean.- Parameters:
t
- the value- Returns:
- the boolean result
- Throws:
Throwable
- if the implementation wishes to throw any type of exception
-