mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
9 lines
206 B
Java
9 lines
206 B
Java
// "Replace with 'stream.noneMatch()'" "true-preview"
|
|
|
|
import java.util.Arrays;
|
|
|
|
class Test {
|
|
boolean noneMatch() {
|
|
return Arrays.asList("ds", "e", "fe").stream().noneMatch(s -> s.length() > 1);
|
|
}
|
|
} |