Package | Description |
---|---|
org.apache.commons.collections4.map |
Modifier and Type | Method and 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 and 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 and Description |
---|---|
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry<MultiKey<? extends K>,V> entry,
Object key1,
Object key2)
Is the key equal to the combined key.
|
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry<MultiKey<? extends K>,V> entry,
Object key1,
Object key2,
Object key3)
Is the key equal to the combined key.
|
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry<MultiKey<? extends K>,V> entry,
Object key1,
Object key2,
Object key3,
Object key4)
Is the key equal to the combined key.
|
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry<MultiKey<? extends K>,V> entry,
Object key1,
Object key2,
Object key3,
Object key4,
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(Map<? extends MultiKey<? extends K>,? extends V> mapToCopy)
Copies all of the keys and values from the specified map to this map.
|
Constructor and Description |
---|
MultiKeyMap(AbstractHashedMap<MultiKey<? extends K>,V> map)
Constructor that decorates the specified map and is called from
MultiKeyMap.multiKeyMap(AbstractHashedMap) . |
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.