mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 20:54:49 +07:00
9 lines
218 B
Java
9 lines
218 B
Java
// "Replace Stream().filter().count() == 0 with stream.noneMatch()" "true"
|
|
|
|
import java.util.Arrays;
|
|
|
|
class Test {
|
|
long cnt() {
|
|
return Arrays.asList("ds", "e", "fe").stream().noneMatch(s -> s.length() > 1);
|
|
}
|
|
} |