mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 03:07:47 +07:00
17 lines
331 B
Java
17 lines
331 B
Java
// "Replace with anyMatch()" "true"
|
|
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
public boolean testPrimitiveMap(List<String> data) {
|
|
for(String str : d<caret>ata) {
|
|
if(str.startsWith("xyz")) {
|
|
int len = str.length();
|
|
if(len > 10) {
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
} |