Package | Description |
---|---|
org.apache.commons.collections.map |
Modifier and Type | Class | 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 | 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 | Description |
---|---|---|
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.Object value) |
Creates an entry to store the key-value data.
|
protected AbstractHashedMap.HashEntry |
AbstractLinkedMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.Object value) |
Creates an entry to store the data.
|
protected AbstractHashedMap.HashEntry |
AbstractReferenceMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.Object value) |
Creates a ReferenceEntry instead of a HashEntry.
|
protected AbstractHashedMap.HashEntry |
IdentityMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.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 |
AbstractHashedMap.getEntry(java.lang.Object key) |
Gets the entry mapped to the key specified.
|
protected AbstractHashedMap.HashEntry |
AbstractReferenceMap.getEntry(java.lang.Object key) |
Gets the entry mapped to the key specified.
|
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.HashIterator.nextEntry() |
Modifier and Type | Method | 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 |
AbstractHashedMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.Object value) |
Creates an entry to store the key-value data.
|
protected AbstractHashedMap.HashEntry |
AbstractLinkedMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.Object value) |
Creates an entry to store the data.
|
protected AbstractHashedMap.HashEntry |
AbstractReferenceMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.Object value) |
Creates a ReferenceEntry instead of a HashEntry.
|
protected AbstractHashedMap.HashEntry |
IdentityMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.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 java.lang.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 java.lang.Object |
AbstractHashedMap.entryValue(AbstractHashedMap.HashEntry entry) |
Gets the
value field from a HashEntry . |
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry entry,
java.lang.Object key1,
java.lang.Object key2) |
Is the key equal to the combined key.
|
protected boolean |
MultiKeyMap.isEqualKey(AbstractHashedMap.HashEntry 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 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 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.
|
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,
java.lang.Object key,
java.lang.Object value) |
Reuses an existing key-value mapping, storing completely new data.
|
protected void |
AbstractHashedMap.updateEntry(AbstractHashedMap.HashEntry entry,
java.lang.Object newValue) |
Updates an existing key-value mapping to change the value.
|
protected void |
LRUMap.updateEntry(AbstractHashedMap.HashEntry entry,
java.lang.Object newValue) |
Updates an existing key-value mapping.
|
Constructor | Description |
---|---|
HashEntry(AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.Object value) |
|
IdentityEntry(AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.Object value) |
|
LinkEntry(AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.Object value) |
Constructs a new entry.
|
ReferenceEntry(AbstractReferenceMap parent,
AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.Object value) |
Creates a new entry object for the ReferenceMap.
|
Copyright © 2001-2017 Apache Software Foundation. All Rights Reserved.