Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java map to list or array

List<Value> list = new ArrayList<Value>(map.values());
//or if u want list of keys
List<Value> list = new ArrayList<Value>(map.keySet());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #map #list #array
ADD COMMENT
Topic
Name
6+2 =