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