org.lsst.ccs.shell.util
Class EmptyMultiMap<K,V>
java.lang.Object
org.lsst.ccs.shell.util.EmptyMultiMap<K,V>
- All Implemented Interfaces:
- MultiMap<K,V>
public class EmptyMultiMap<K,V>
- extends Object
- implements MultiMap<K,V>
- Author:
- ASG
EmptyMultiMap
public EmptyMultiMap()
put
public void put(K key,
V value)
- Specified by:
put in interface MultiMap<K,V>
get
public Collection<V> get(K key)
- Specified by:
get in interface MultiMap<K,V>
keySet
public Set<K> keySet()
- Specified by:
keySet in interface MultiMap<K,V>
remove
public void remove(K key,
V value)
- Specified by:
remove in interface MultiMap<K,V>
removeAll
public void removeAll(K key)
- Specified by:
removeAll in interface MultiMap<K,V>
size
public int size()
- Specified by:
size in interface MultiMap<K,V>
- Returns:
- total size of all value collections in the MultiMap.
putAll
public void putAll(MultiMap<K,V> map)
- Specified by:
putAll in interface MultiMap<K,V>
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 LSST. All Rights Reserved.