List<Value> list = new ArrayList<Value>(map.values());
assuming:
Map<Key,Value> map;
More Related Contents:
- I need to create a list that has both colums 1 and 2 equal [closed]
- How do I remove repeated elements from ArrayList?
- What are the reasons why Map.get(Object key) is not (fully) generic
- How to sort a List/ArrayList?
- How do you cast a List of supertypes to a List of subtypes?
- How to remove duplicates from a list?
- How to randomize two ArrayLists in the same fashion?
- How can I sort a List alphabetically?
- How do I convert a Map to List in Java?
- How to make a new 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 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?
- Print array without brackets and commas
- Create a List of primitive int?
- Map that could be iterated in the order of values
- How to flatten all items from a nested Java Collection into a single List?
- ArrayList vs LinkedList from memory allocation perspective
- How to remove common values from two array lists
- Performance and Memory allocation comparison between List and Set
- How can I get the size of an array, a Collection, or a String in Java?
- How to initialize HashSet values by construction?
- Performance considerations for keySet() and entrySet() of Map
- What is a List vs. an ArrayList? [duplicate]