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