keyset Map.keyset() Map 대상 이 있 습 니 다.이때 keyset()방법 으로 모든 key 값 을 가 져 옵 니 다.예 를 들 어 Map map=new HashMap();map.put(1, "a"); map.put(2, "b"); map.put(3, "c"); map.put(4, "d"); Set keys1 = map.keySet(); Set keys2 = map.keySet(); Set keys3 = map... keyset
Map.keyset() Map 대상 이 있 습 니 다.이때 keyset()방법 으로 모든 key 값 을 가 져 옵 니 다.예 를 들 어 Map map=new HashMap();map.put(1, "a"); map.put(2, "b"); map.put(3, "c"); map.put(4, "d"); Set keys1 = map.keySet(); Set keys2 = map.keySet(); Set keys3 = map... keyset