List of usage examples for java.util.function DoublePredicate negate
default DoublePredicate negate()
From source file:Main.java
public static void main(String[] args) { DoublePredicate dp = (d) -> d > 0; System.out.println(dp.test(0.5)); System.out.println(dp.negate().test(0.5)); }