mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
10 lines
225 B
Java
10 lines
225 B
Java
// "Replace with 'Map.containsKey()'" "true"
|
|
import java.util.Map;
|
|
|
|
class Test {
|
|
void test(Map<String, String> map, String key) {
|
|
if(map.keySet().cont<caret>ains(key)) {
|
|
System.out.println("contains");
|
|
}
|
|
}
|
|
} |