mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
10 lines
240 B
Java
10 lines
240 B
Java
|
|
import java.util.Map;
|
|
import java.util.Map.Entry;
|
|
import java.util.stream.Collectors;
|
|
|
|
class Test {
|
|
void m(Map<String, String> s) {
|
|
s.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey, <caret>Map.Entry::getValue));
|
|
}
|
|
} |