mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-22 11:29:28 +07:00
9 lines
232 B
Java
9 lines
232 B
Java
// "Replace Stream().filter().count() > 0 with stream.anyMatch()" "true"
|
|
|
|
import java.util.Arrays;
|
|
|
|
class Test {
|
|
long cnt() {
|
|
return 0 < Arrays.asList("ds", "e", "fe").stream().filter(s -> s.length() > 1).c<caret>ount();
|
|
}
|
|
} |