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 bipredicate
U - the type of arguments to the specified bipredicate
Enclosing class:
LambdaUtils

public static class LambdaUtils.BiPredicate<T,U> extends Object
Some useful biPredicates
  • Constructor Details

  • Method Details

    • 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 bipredicate
      U - the type of arguments to the specified bipredicate
      Parameters:
      target - bipredicate to negate
      Returns:
      a bipredicate that negates the results of the supplied bipredicate