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