List<Value> list = new ArrayList<Value>(map.values());
assuming:
Map<Key,Value> map;
More Related Contents:
- How do I efficiently iterate over each entry in a Java Map?
- How do I remove repeated elements from ArrayList?
- How to sort a List/ArrayList?
- How do you cast a List of supertypes to a List of subtypes?
- How can I initialise a static Map?
- How to directly initialize a HashMap (in a literal way)?
- How to remove duplicates from a list?
- Sort a Map by values
- How to randomize two ArrayLists in the same fashion?
- How can I sort a List alphabetically?
- How to convert a Map to List in Java?
- Define a fixed-size list in Java
- Difference between Arrays.asList(array) and new ArrayList(Arrays.asList(array))
- Java – generate Random range of specific numbers without duplication of those numbers – how to?
- How to copy Java Collections list
- Java – How to create new Entry (key, value)
- Java List Sorting: Is there a way to keep a list permantly sorted automatically like TreeMap?
- How to shuffle an ArrayList [duplicate]
- How to search in a List of Java object
- How to get a reversed list view on a list in Java?
- Is there a no-duplicate List implementation out there?
- Intersection of java.util.Map
- Print array without brackets and commas
- Create a List of primitive int?
- How to flatten all items from a nested Java Collection into a single List?
- ArrayList vs LinkedList from memory allocation perspective
- Convert a map of lists into a list of maps
- How to remove common values from two array lists
- Performance and Memory allocation comparison between List and Set
- How to Maintain order of insertion [duplicate]