Good day, this is kind of confusing me now(brain freeze!) and seem to be missing something. Have an ArrayList which i populate with a HashMap. now i put in my HashMap and arrayl
Create an ArrayList of String type to hold the values of the map. In its constructor call the method values() of the Map class.
ArrayList
String
values()
Map map; List list = new ArrayList(map.values());