public abstract class AbstractTwoLevelMap<K,V>
extends java.lang.Object
| Constructor and Description |
|---|
AbstractTwoLevelMap() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract V |
createValue()
Creates a new blank value.
|
V |
getItem(K key1,
K key2)
Gets the TValue associated with key1 and key2.
|
java.util.Map<K,V> |
getItems(K key)
Gets the (TKey, TValue) map associated with key.
|
java.util.Set<K> |
keySet()
Gets the key set of this map.
|
void |
remove(K key)
Removes a key from the map.
|
public V getItem(K key1, K key2)
key1 - The first key.key2 - The second key.public java.util.Map<K,V> getItems(K key)
key - The first key.public void remove(K key)
key - The key to remove.public java.util.Set<K> keySet()
protected abstract V createValue()