Not Predicate
With the static method
Predicate.not()
we can
invert conditions. This is particular useful in combination with method
references.
Since Java 11
This snippet at GitHub
With the static method
Predicate.not()
we can
invert conditions. This is particular useful in combination with method
references.
Since Java 11
This snippet at GitHub