mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
10 lines
234 B
Java
10 lines
234 B
Java
// "Replace !LongStream.anyMatch(...) with noneMatch(...)" "true"
|
|
|
|
import java.util.stream.*;
|
|
|
|
class Test {
|
|
public boolean testAnyMatch(long[] data) {
|
|
if(!LongStream.of(data).anyM<caret>atch(i -> i > 0))
|
|
return true;
|
|
}
|
|
} |