mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
9 lines
196 B
Java
9 lines
196 B
Java
// "Replace with '!stream.findAny().isPresent()'" "true"
|
|
|
|
import java.util.stream.Stream;
|
|
|
|
class Test {
|
|
boolean notIsPresent(Stream<String> stream) {
|
|
return stream.c<caret>ount() == 0;
|
|
}
|
|
} |