org.lsst.ccs.shell.util
Interface MultiMap<K,V>
- All Known Implementing Classes:
- ArrayHashMultiMap, EmptyMultiMap
public interface MultiMap<K,V>
This is an extension to Java Collections framework.
MultiMap is a map which can contain multiple values under the same key.
- Author:
- ASG
put
void put(K key,
V value)
putAll
void putAll(MultiMap<K,V> map)
get
Collection<V> get(K key)
keySet
Set<K> keySet()
remove
void remove(K key,
V value)
removeAll
void removeAll(K key)
size
int size()
- Returns:
- total size of all value collections in the MultiMap.
Copyright © 2013 LSST. All Rights Reserved.