mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
10 lines
222 B
Java
10 lines
222 B
Java
// "Replace with noneMatch()" "true"
|
|
|
|
import java.util.Arrays;
|
|
|
|
public class Main {
|
|
boolean find(String[][] data) {
|
|
return Arrays.stream(data).flatMap(Arrays::stream).noneMatch(str -> str.startsWith("xyz"));
|
|
}
|
|
}
|