What about "not null" predicate? This is also very common. Right now it is
possible via `Objects::nonNull` but many people do not know about this
method. So, having a `Predicate.notNull` method would be nice.

2018-05-29 19:52 GMT+07:00 Jim Laskey <james.las...@oracle.com>:

> Introduce a new static method Predicate::not which will allow developers
> to negate predicate lambdas trivially.
>
> webrev: http://cr.openjdk.java.net/~jlaskey/8050818/webrev/index.html
> bug: https://bugs.openjdk.java.net/browse/JDK-8050818
> csr: https://bugs.openjdk.java.net/browse/JDK-8203428
>
>

Reply via email to