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