mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 09:04:15 +07:00
GitOrigin-RevId: 9d8cf85eb1eee3ca8a38c2bcde119666afcc7934
9 lines
240 B
Java
9 lines
240 B
Java
// "Replace with 'stream.anyMatch()'" "true-preview"
|
|
|
|
import java.util.Arrays;
|
|
|
|
class Test {
|
|
boolean anyMatch() {
|
|
return Arrays.asList("ds", "e", "fe")./*a*/stream(/*b*/)/*c*/.filter(s -> s.length() > 1).c<caret>ount() > /*d*/0;
|
|
}
|
|
} |