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