mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-23 07:14:21 +07:00
10 lines
233 B
Java
10 lines
233 B
Java
// "Replace !IntStream.noneMatch(...) with anyMatch(...)" "true"
|
|
|
|
import java.util.stream.*;
|
|
|
|
class Test {
|
|
public boolean testNoneMatch(int[] data) {
|
|
if(!IntStream.of(data).noneM<caret>atch(i -> i > 0))
|
|
return true;
|
|
}
|
|
} |