Relates :
|
|
Relates :
|
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())
|