K
- The key type.V
- The value type.public class ListTreeMap<K,V> extends AbstractListNavigableMap<K,V>
Uses a TreeMap to allow multiple values for a single key.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
ListNavigableMap.Abstract<K,V>
Constructor and Description |
---|
ListTreeMap()
Constructs an instance.
|
ListTreeMap(Comparator<? super K> comparator)
Constructs an instance.
|
ListTreeMap(Map<K,List<V>> map)
Constructs an instance.
|
ceilingEntry, ceilingKey, comparator, descendingKeySet, descendingMap, firstEntry, firstKey, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, lastEntry, lastKey, lowerEntry, lowerKey, mapReplaced, navigableKeySet, pollFirstEntry, pollLastEntry, subMap, subMap, tailMap, tailMap
add, clear, clone, containsKey, containsValue, entrySet, get, getAll, getFirst, getLast, isEmpty, keySet, put, put, remove, removeFirst, removeLast, size, values
add, getAll, getFirst, getLast, put, removeFirst, removeLast
public ListTreeMap()
public ListTreeMap(@Nonnull Comparator<? super K> comparator)
comparator
- The comparator used to order this map.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.