Map<key, value> map이 있다고 가정하면
List<key> list = new ArrayList<key>(map.keySet());
or
List<value> list = new ArrayList<value>(map.values());