I have a LinkedHashMap < String, String > map .
LinkedHashMap < String, String > map
List < String > keyList; List < String > valueList; map.keySet(); map.values(); <
Most collections accept Collection as a constructor argument:
Collection
List keyList = new ArrayList(map.keySet()); List valueList = new ArrayList(map.values());