K - the key typeV - the value typepublic class CmsManyToOneMap<K,V>
extends java.lang.Object
It also implements efficient removal of values, not just keys.
| 构造器和说明 |
|---|
CmsManyToOneMap()
Creates a new instance.
|
CmsManyToOneMap(CmsManyToOneMap<K,V> other)
Creates a new instance by copying the data from another one.
|
public CmsManyToOneMap()
public CmsManyToOneMap(CmsManyToOneMap<K,V> other)
other - the other map to copy the data frompublic V get(K key)
key - the keypublic void put(K key, V value)
key - the keyvalue - the valuepublic void remove(K key)
key - the keypublic void removeValue(V value)
value - the value