mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
18 lines
380 B
Java
18 lines
380 B
Java
// "Replace with findFirst()" "true"
|
|
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
public static String find(List<List<String>> list) {
|
|
if(list != null) {
|
|
for (List<String> innerList : lis<caret>t) {
|
|
for (String string : innerList) {
|
|
if (string.startsWith("ABC")) {
|
|
return string;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
} |