Package | Description |
---|---|
org.apache.commons.collections.map |
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractLinkedMap.LinkEntry
LinkEntry that stores the data.
|
protected static class |
AbstractReferenceMap.ReferenceEntry
A MapEntry implementation for the map.
|
protected static class |
IdentityMap.IdentityEntry
HashEntry
|
Modifier and Type | Field and Description |
---|---|
protected AbstractHashedMap.HashEntry[] |
AbstractHashedMap.data
Map entries
|
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.HashIterator.last
The last returned entry
|
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.HashEntry.next
The next entry in the hash chain
|
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.HashIterator.next
The next entry
|
Modifier and Type | Method and Description |
---|---|
protected AbstractHashedMap.HashEntry |
AbstractReferenceMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates a ReferenceEntry instead of a HashEntry.
|
protected AbstractHashedMap.HashEntry |
IdentityMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates an entry to store the data.
|
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates an entry to store the key-value data.
|
protected AbstractHashedMap.HashEntry |
AbstractLinkedMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates an entry to store the data.
|
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.HashIterator.currentEntry() |
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.entryNext(AbstractHashedMap.HashEntry entry)
Gets the
next field from a HashEntry . |
protected AbstractHashedMap.HashEntry |
AbstractReferenceMap.getEntry(Object key)
Gets the entry mapped to the key specified.
|
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.getEntry(Object key)
Gets the entry mapped to the key specified.
|
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.HashIterator.nextEntry() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractHashedMap.addEntry(AbstractHashedMap.HashEntry entry,
int hashIndex)
Adds an entry into this map.
|
protected void |
AbstractLinkedMap.addEntry(AbstractHashedMap.HashEntry entry,
int hashIndex)
Adds an entry into this map, maintaining insertion order.
|
protected AbstractHashedMap.HashEntry |
AbstractReferenceMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates a ReferenceEntry instead of a HashEntry.
|
protected AbstractHashedMap.HashEntry |
IdentityMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates an entry to store the data.
|
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates an entry to store the key-value data.
|
protected AbstractHashedMap.HashEntry |
AbstractLinkedMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates an entry to store the data.
|
protected void |
AbstractHashedMap.destroyEntry(AbstractHashedMap.HashEntry entry)
Kills an entry ready for the garbage collector.
|
protected int |
AbstractHashedMap.entryHashCode(AbstractHashedMap.HashEntry entry)
Gets the
hashCode field from a HashEntry . |
protected Object |
AbstractHashedMap.entryKey(AbstractHashedMap.HashEntry entry)
Gets the
key field from a HashEntry . |
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.entryNext(AbstractHashedMap.HashEntry entry)
Gets the
next field from a HashEntry . |
protected Object |
AbstractHashedMap.entryValue(AbstractHashedMap.HashEntry entry)
Gets the
value field from a HashEntry . |
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry entry,
Object key1,
Object key2)
Is the key equal to the combined key.
|
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry entry,
Object key1,
Object key2,
Object key3)
Is the key equal to the combined key.
|
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry entry,
Object key1,
Object key2,
Object key3,
Object key4)
Is the key equal to the combined key.
|
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry entry,
Object key1,
Object key2,
Object key3,
Object key4,
Object key5)
Is the key equal to the combined key.
|
protected void |
AbstractHashedMap.removeEntry(AbstractHashedMap.HashEntry entry,
int hashIndex,
AbstractHashedMap.HashEntry previous)
Removes an entry from the chain stored in a particular index.
|
protected void |
AbstractLinkedMap.removeEntry(AbstractHashedMap.HashEntry entry,
int hashIndex,
AbstractHashedMap.HashEntry previous)
Removes an entry from the map and the linked list.
|
protected void |
AbstractHashedMap.removeMapping(AbstractHashedMap.HashEntry entry,
int hashIndex,
AbstractHashedMap.HashEntry previous)
Removes a mapping from the map.
|
protected void |
AbstractHashedMap.reuseEntry(AbstractHashedMap.HashEntry entry,
int hashIndex,
int hashCode,
Object key,
Object value)
Reuses an existing key-value mapping, storing completely new data.
|
protected void |
AbstractHashedMap.updateEntry(AbstractHashedMap.HashEntry entry,
Object newValue)
Updates an existing key-value mapping to change the value.
|
protected void |
LRUMap.updateEntry(AbstractHashedMap.HashEntry entry,
Object newValue)
Updates an existing key-value mapping.
|
Constructor and Description |
---|
AbstractHashedMap.HashEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value) |
AbstractLinkedMap.LinkEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Constructs a new entry.
|
AbstractReferenceMap.ReferenceEntry(AbstractReferenceMap parent,
AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates a new entry object for the ReferenceMap.
|
IdentityMap.IdentityEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value) |
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.