yanrun
Map<String, String[]> location = new HashMap<>();
String[] sh = new String[]{"徐汇", "长宁","普陀", "闸北", "虹口"};
location.put("上海", sh);
for(Map.Entry<String, String[]> entry : location.entrySet()) {
System.out.println(entry.getKey() + "\t" + Arrays.asList(entry.getValue()).toString());
}