+1 —
Actually… even small API tweaks are not easy :-), this got me thinking whether this method should explicitly state negate is called, since it has implications for subtypes. Something to consider as a follow on tweak perhaps. Paul. > On May 29, 2018, at 5:52 AM, Jim Laskey <[email protected]> wrote: > > 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 >
