Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all entries from this map and its child maps.
|
java.util.Set<C> |
columnKeySet()
Get column key set.
|
java.util.Set<C> |
columnKeySet(java.lang.Object rowKey)
Get column key set with specified row value.
|
boolean |
containsKey(CompoundKey key)
Determine if map contains a compound key.
|
boolean |
containsKeys(java.lang.Object rowKey,
java.lang.Object columnKey)
Determine if map contains a key pair.
|
V |
get(CompoundKey key)
Get value at specified CompoundKey position.
|
V |
get(java.lang.Object rowKey,
java.lang.Object columnKey)
Get value at specified (rowKey, columnKey) position.
|
java.util.Set<CompoundKey> |
keySet()
Get the compound key set.
|
V |
put(R rowKey,
C columnKey,
V value)
Add value for specified (rowKey, columnKey) .
|
V |
remove(java.lang.Object rowKey,
java.lang.Object columnKey)
Remove entry at (rowKey, columnKey).
|
java.util.Set<R> |
rowKeySet()
Get row key set.
|
int |
size()
Return number of entries.
|
void clear()
int size()
boolean containsKeys(java.lang.Object rowKey, java.lang.Object columnKey)
rowKey
- Row key.columnKey
- Column key.boolean containsKey(CompoundKey key)
key
- Compound key.V get(java.lang.Object rowKey, java.lang.Object columnKey)
rowKey
- Row key.columnKey
- Column key.V get(CompoundKey key)
key
- Compound key.V put(R rowKey, C columnKey, V value)
rowKey
- Row key.columnKey
- Column key.value
- Value to store.V remove(java.lang.Object rowKey, java.lang.Object columnKey)
rowKey
- Row key.columnKey
- Column key.java.util.Set<CompoundKey> keySet()
java.util.Set<R> rowKeySet()
java.util.Set<C> columnKeySet()
java.util.Set<C> columnKeySet(java.lang.Object rowKey)
rowKey
- Row key value.