Package org.wildfly.clustering.function
Interface BiPredicate<T,U>
- Type Parameters:
T- the first parameter typeU- the second parameter type
- All Superinterfaces:
BiPredicate<T,U>
An enhanced binary predicate.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault BiPredicate<T,U> and(BiPredicate<? super T, ? super U> other) static <T,U> BiPredicate<T, U> Returns a binary predicate composed using the conjunction of two unary predicates.default BiPredicate<T,U> negate()default BiPredicate<T,U> or(BiPredicate<? super T, ? super U> other) static <T,U> BiPredicate<T, U> Returns a binary predicate composed using the disjunction of two unary predicates.Methods inherited from interface java.util.function.BiPredicate
test
-
Method Details
-
and
- Specified by:
andin interfaceBiPredicate<T,U>
-
negate
- Specified by:
negatein interfaceBiPredicate<T,U>
-
or
- Specified by:
orin interfaceBiPredicate<T,U>
-
and
Returns a binary predicate composed using the conjunction of two unary predicates.- Type Parameters:
T- the first parameter typeU- the second parameter type- Parameters:
predicate1- the predicate for the first parameterpredicate2- the predicate for the second parameter- Returns:
- a binary predicate composed using the conjunction of two unary predicates.
-
or
Returns a binary predicate composed using the disjunction of two unary predicates.- Type Parameters:
T- the first parameter typeU- the second parameter type- Parameters:
predicate1- the predicate for the first parameterpredicate2- the predicate for the second parameter- Returns:
- a binary predicate composed using the disjunction of two unary predicates.
-