gr.uoa.di.madgik.searchlibrary.operatorlibrary.utils
Class TreeMultiMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap<K,List<V>>
gr.uoa.di.madgik.searchlibrary.operatorlibrary.utils.TreeMultiMap<K,V>
- All Implemented Interfaces:
- Serializable, Cloneable, Map<K,List<V>>, NavigableMap<K,List<V>>, SortedMap<K,List<V>>
public class TreeMultiMap<K,V>
- extends TreeMap<K,List<V>>
- See Also:
- Serialized Form
| Methods inherited from class java.util.TreeMap |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, putAll, size, subMap, subMap, tailMap, tailMap, values |
TreeMultiMap
public TreeMultiMap()
TreeMultiMap
public TreeMultiMap(Comparator<? super K> c)
TreeMultiMap
public TreeMultiMap(Map<? extends K,? extends List<V>> m)
TreeMultiMap
public TreeMultiMap(SortedMap<K,? extends List<V>> m)
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map<K,List<V>>- Overrides:
containsValue in class TreeMap<K,List<V>>
put
public List<V> put(K key,
List<V> value)
- Specified by:
put in interface Map<K,List<V>>- Overrides:
put in class TreeMap<K,List<V>>
put
public void put(K key,
V value)
remove
public List<V> remove(Object key)
- Specified by:
remove in interface Map<K,List<V>>- Overrides:
remove in class TreeMap<K,List<V>>
removeOne
public V removeOne(Object key)
remove
public boolean remove(Object key,
Object value)
toString
public String toString()
- Overrides:
toString in class AbstractMap<K,List<V>>
Copyright © 2013. All Rights Reserved.