mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 02:39:37 +07:00
22 lines
484 B
Java
22 lines
484 B
Java
// "Replace with findFirst()" "true"
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
public class Main {
|
|
public void testMap(Map<String, List<String>> map) throws Exception {
|
|
int firstSize = 0;
|
|
int other = map.size();
|
|
if(other > 10) {
|
|
System.out.println("Big");
|
|
}
|
|
for(List<String> list : map.valu<caret>es()) {
|
|
if(list != null) {
|
|
firstSize = list.size();
|
|
// comment
|
|
break;
|
|
}
|
|
}
|
|
System.out.println(firstSize);
|
|
}
|
|
} |