-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
9
-
generic
-
generic
A DESCRIPTION OF THE REQUEST :
filterNot api method for java streams
JUSTIFICATION :
filterNot can improve code readability and reduce excessiveness.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
strings.stream().filterNot(String::isEmpty)
ACTUAL -
strings.stream().filter((str) -> !str.isEmpty())
filterNot api method for java streams
JUSTIFICATION :
filterNot can improve code readability and reduce excessiveness.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
strings.stream().filterNot(String::isEmpty)
ACTUAL -
strings.stream().filter((str) -> !str.isEmpty())
- relates to
-
JDK-8050818 Predicate::not - provide an easier way to negate a predicate
-
- Resolved
-
-
JDK-8210372 Streams should allow chaining with custom stream implementations
-
- Closed
-