mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 14:30:49 +07:00
GitOrigin-RevId: 9d8cf85eb1eee3ca8a38c2bcde119666afcc7934
9 lines
203 B
Java
9 lines
203 B
Java
// "Replace with 'stream.anyMatch()'" "true-preview"
|
|
|
|
import java.util.Arrays;
|
|
|
|
class Test {
|
|
boolean anyMatch() {
|
|
return Arrays.asList("ds", "e", "fe").stream().anyMatch(s -> s.length() > 1);
|
|
}
|
|
} |