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
public static class LambdaUtils.BiPredicate<T,U> extends Object
Some usefulbiPredicates
-
-
Constructor Summary
Constructors Constructor Description BiPredicate()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T,U>
BiPredicate<T,U>not(BiPredicate<? super T,? super U> target)
Returns a bipredicate that is the negation of the supplied bipredicate.
-
-
-
Constructor Detail
-
BiPredicate
public BiPredicate()
-
-
Method Detail
-
not
public static <T,U> BiPredicate<T,U> not(BiPredicate<? super T,? super U> target)
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
-
-