Package | Description |
---|---|
org.apache.commons.collections4.map |
Modifier and Type | Method | Description |
---|---|---|
protected AbstractHashedMap<MultiKey<? extends K>,V> |
MultiKeyMap.decorated() |
Gets the map being decorated.
|
MapIterator<MultiKey<? extends K>,V> |
MultiKeyMap.mapIterator() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
MultiKeyMap.checkKey(MultiKey<?> key) |
Check to ensure that input keys are valid MultiKey objects.
|
V |
MultiKeyMap.put(MultiKey<? extends K> key,
V value) |
Puts the key and value into the map, where the key must be a non-null
MultiKey object.
|
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry<MultiKey<? extends K>,V> entry,
java.lang.Object key1,
java.lang.Object key2) |
Is the key equal to the combined key.
|
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry<MultiKey<? extends K>,V> entry,
java.lang.Object key1,
java.lang.Object key2,
java.lang.Object key3) |
Is the key equal to the combined key.
|
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry<MultiKey<? extends K>,V> entry,
java.lang.Object key1,
java.lang.Object key2,
java.lang.Object key3,
java.lang.Object key4) |
Is the key equal to the combined key.
|
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry<MultiKey<? extends K>,V> entry,
java.lang.Object key1,
java.lang.Object key2,
java.lang.Object key3,
java.lang.Object key4,
java.lang.Object key5) |
Is the key equal to the combined key.
|
static <K,V> MultiKeyMap<K,V> |
MultiKeyMap.multiKeyMap(AbstractHashedMap<MultiKey<? extends K>,V> map) |
Decorates the specified map to add the MultiKeyMap API and fast query.
|
void |
MultiKeyMap.putAll(java.util.Map<? extends MultiKey<? extends K>,? extends V> mapToCopy) |
Copies all of the keys and values from the specified map to this map.
|
Constructor | Description |
---|---|
MultiKeyMap(AbstractHashedMap<MultiKey<? extends K>,V> map) |
Constructor that decorates the specified map and is called from
MultiKeyMap.multiKeyMap(AbstractHashedMap) . |
Copyright © 2001-2019 - Apache Software Foundation