mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
10 lines
235 B
Java
10 lines
235 B
Java
// "Replace with 'Map.containsValue()'" "true-preview"
|
|
import java.util.Map;
|
|
|
|
class Test {
|
|
void test(Map<String, String> map, String key) {
|
|
if(map.values().cont<caret>ains(key)) {
|
|
System.out.println("contains");
|
|
}
|
|
}
|
|
} |