| Package | Description |
|---|---|
| com.alee.utils.map |
| Modifier and Type | Field and Description |
|---|---|
protected AbstractHashMap.HashEntry<K,V>[] |
AbstractHashMap.data
Map entries
|
protected AbstractHashMap.HashEntry<K,V> |
AbstractHashMap.HashIterator.last
The last returned entry
|
protected AbstractHashMap.HashEntry<K,V> |
AbstractHashMap.HashEntry.next
The next entry in the hash chain
|
protected AbstractHashMap.HashEntry<K,V> |
AbstractHashMap.HashIterator.next
The next entry
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractHashMap.HashEntry |
AbstractHashMap.createEntry(AbstractHashMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates an entry to store the key-value data.
|
protected AbstractHashMap.HashEntry<K,V> |
AbstractHashMap.HashIterator.currentEntry()
Returns current
AbstractHashMap.HashEntry. |
protected AbstractHashMap.HashEntry |
AbstractHashMap.entryNext(AbstractHashMap.HashEntry entry)
Gets the
next field from a HashEntry. |
protected AbstractHashMap.HashEntry |
AbstractHashMap.getEntry(Object key)
Gets the entry mapped to the key specified.
|
AbstractHashMap.HashEntry<K,V> |
AbstractHashMap.EntrySetIterator.next() |
protected AbstractHashMap.HashEntry<K,V> |
AbstractHashMap.HashIterator.nextEntry()
Returns next
AbstractHashMap.HashEntry. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractHashMap.addEntry(AbstractHashMap.HashEntry entry,
int hashIndex)
Adds an entry into this map.
|
protected AbstractHashMap.HashEntry |
AbstractHashMap.createEntry(AbstractHashMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates an entry to store the key-value data.
|
protected void |
AbstractHashMap.destroyEntry(AbstractHashMap.HashEntry entry)
Kills an entry ready for the garbage collector.
|
protected int |
AbstractHashMap.entryHashCode(AbstractHashMap.HashEntry entry)
Gets the
hashCode field from a HashEntry. |
protected Object |
AbstractHashMap.entryKey(AbstractHashMap.HashEntry entry)
Gets the
key field from a HashEntry. |
protected AbstractHashMap.HashEntry |
AbstractHashMap.entryNext(AbstractHashMap.HashEntry entry)
Gets the
next field from a HashEntry. |
protected Object |
AbstractHashMap.entryValue(AbstractHashMap.HashEntry entry)
Gets the
value field from a HashEntry. |
protected void |
AbstractHashMap.removeEntry(AbstractHashMap.HashEntry entry,
int hashIndex,
AbstractHashMap.HashEntry previous)
Removes an entry from the chain stored in a particular index.
|
protected void |
AbstractHashMap.removeEntry(AbstractHashMap.HashEntry entry,
int hashIndex,
AbstractHashMap.HashEntry previous)
Removes an entry from the chain stored in a particular index.
|
protected void |
AbstractHashMap.removeMapping(AbstractHashMap.HashEntry entry,
int hashIndex,
AbstractHashMap.HashEntry previous)
Removes a mapping from the map.
|
protected void |
AbstractHashMap.removeMapping(AbstractHashMap.HashEntry entry,
int hashIndex,
AbstractHashMap.HashEntry previous)
Removes a mapping from the map.
|
protected void |
AbstractHashMap.reuseEntry(AbstractHashMap.HashEntry entry,
int hashIndex,
int hashCode,
Object key,
Object value)
Reuses an existing key-value mapping, storing completely new data.
|
protected void |
AbstractHashMap.updateEntry(AbstractHashMap.HashEntry entry,
Object newValue)
Updates an existing key-value mapping to change the value.
|
| Constructor and Description |
|---|
HashEntry(AbstractHashMap.HashEntry<K,V> next,
int hashCode,
K key,
V value)
Constructs new
AbstractHashMap.HashEntry. |
Copyright © 2020. All rights reserved.