Package org.ametys.core.util
Class LambdaUtils.BiPredicate<T,U>
java.lang.Object
org.ametys.core.util.LambdaUtils.BiPredicate<T,U>
- Type Parameters:
T
- the type of arguments to the specified bipredicateU
- the type of arguments to the specified bipredicate
- Enclosing class:
- LambdaUtils
Some useful
biPredicates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
U> BiPredicate<T, U> not
(BiPredicate<? super T, ? super U> target) Returns a bipredicate that is the negation of the supplied bipredicate.
-
Constructor Details
-
BiPredicate
public BiPredicate()
-
-
Method Details
-
not
Returns a bipredicate that is the negation of the supplied bipredicate.- Type Parameters:
T
- the type of arguments to the specified bipredicateU
- the type of arguments to the specified bipredicate- Parameters:
target
- bipredicate to negate- Returns:
- a bipredicate that negates the results of the supplied bipredicate
-