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.
@FunctionalInterface public interface Predicate<@NonNull T>A functional interface (callback) that returns true or false for the given input value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleantest(@NonNull T t)Test the given input value and return a boolean.
-