Package io.reactivex.rxjava3.functions
Interface BiPredicate<T1,T2>
-
- Type Parameters:
T1
- the first valueT2
- the second value
- All Known Implementing Classes:
ObjectHelper.BiObjectPredicate
- 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 BiPredicate<@NonNull T1,@NonNull T2>
A functional interface (callback) that returns true or false for the given input values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
test(@NonNull T1 t1, @NonNull T2 t2)
Test the given input values and return a boolean.
-
-
-
Method Detail
-
test
boolean test(@NonNull @NonNull T1 t1, @NonNull @NonNull T2 t2) throws java.lang.Throwable
Test the given input values and return a boolean.- Parameters:
t1
- the first valuet2
- the second value- Returns:
- the boolean result
- Throws:
java.lang.Throwable
- if the implementation wishes to throw any type of exception
-
-