List of usage examples for java.util.function BiPredicate negate
default BiPredicate<T, U> negate()
From source file:Main.java
public static void main(String[] args) { BiPredicate<Integer, Integer> bi = (x, y) -> x > y; System.out.println(bi.test(2, 3)); System.out.println(bi.negate().test(2, 3)); }