| Package | Description |
|---|---|
| org.jivesoftware.smack.util.collections |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractReferenceMap.ReferenceEntry<K,V>
A MapEntry implementation for the map.
|
| Modifier and Type | Field and Description |
|---|---|
protected AbstractHashedMap.HashEntry<K,V>[] |
AbstractHashedMap.data
Map entries
|
protected AbstractHashedMap.HashEntry<K,V> |
AbstractHashedMap.HashIterator.last
The last returned entry
|
protected AbstractHashedMap.HashEntry<K,V> |
AbstractHashedMap.HashEntry.next
The next entry in the hash chain
|
protected AbstractHashedMap.HashEntry<K,V> |
AbstractHashedMap.HashIterator.next
The next entry
|
| Modifier and Type | Method and Description |
|---|---|
AbstractHashedMap.HashEntry<K,V> |
AbstractReferenceMap.createEntry(AbstractHashedMap.HashEntry<K,V> next,
int hashCode,
K key,
V value)
Creates a ReferenceEntry instead of a HashEntry.
|
protected AbstractHashedMap.HashEntry<K,V> |
AbstractHashedMap.createEntry(AbstractHashedMap.HashEntry<K,V> next,
int hashCode,
K key,
V value)
Creates an entry to store the key-value data.
|
protected AbstractHashedMap.HashEntry<K,V> |
AbstractHashedMap.HashIterator.currentEntry() |
protected AbstractHashedMap.HashEntry<K,V> |
AbstractHashedMap.entryNext(AbstractHashedMap.HashEntry<K,V> entry)
Gets the
next field from a HashEntry. |
protected AbstractHashedMap.HashEntry<K,V> |
AbstractReferenceMap.getEntry(Object key)
Gets the entry mapped to the key specified.
|
protected AbstractHashedMap.HashEntry<K,V> |
AbstractHashedMap.getEntry(Object key)
Gets the entry mapped to the key specified.
|
AbstractHashedMap.HashEntry<K,V> |
AbstractHashedMap.EntrySetIterator.next() |
protected AbstractHashedMap.HashEntry<K,V> |
AbstractHashedMap.HashIterator.nextEntry() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractHashedMap.addEntry(AbstractHashedMap.HashEntry<K,V> entry,
int hashIndex)
Adds an entry into this map.
|
AbstractHashedMap.HashEntry<K,V> |
AbstractReferenceMap.createEntry(AbstractHashedMap.HashEntry<K,V> next,
int hashCode,
K key,
V value)
Creates a ReferenceEntry instead of a HashEntry.
|
protected AbstractHashedMap.HashEntry<K,V> |
AbstractHashedMap.createEntry(AbstractHashedMap.HashEntry<K,V> next,
int hashCode,
K key,
V value)
Creates an entry to store the key-value data.
|
protected void |
AbstractHashedMap.destroyEntry(AbstractHashedMap.HashEntry<K,V> entry)
Kills an entry ready for the garbage collector.
|
protected int |
AbstractHashedMap.entryHashCode(AbstractHashedMap.HashEntry<K,V> entry)
Gets the
hashCode field from a HashEntry. |
protected K |
AbstractHashedMap.entryKey(AbstractHashedMap.HashEntry<K,V> entry)
Gets the
key field from a HashEntry. |
protected AbstractHashedMap.HashEntry<K,V> |
AbstractHashedMap.entryNext(AbstractHashedMap.HashEntry<K,V> entry)
Gets the
next field from a HashEntry. |
protected V |
AbstractHashedMap.entryValue(AbstractHashedMap.HashEntry<K,V> entry)
Gets the
value field from a HashEntry. |
protected void |
AbstractHashedMap.removeEntry(AbstractHashedMap.HashEntry<K,V> entry,
int hashIndex,
AbstractHashedMap.HashEntry<K,V> previous)
Removes an entry from the chain stored in a particular index.
|
protected void |
AbstractHashedMap.removeEntry(AbstractHashedMap.HashEntry<K,V> entry,
int hashIndex,
AbstractHashedMap.HashEntry<K,V> previous)
Removes an entry from the chain stored in a particular index.
|
protected void |
AbstractHashedMap.removeMapping(AbstractHashedMap.HashEntry<K,V> entry,
int hashIndex,
AbstractHashedMap.HashEntry<K,V> previous)
Removes a mapping from the map.
|
protected void |
AbstractHashedMap.removeMapping(AbstractHashedMap.HashEntry<K,V> entry,
int hashIndex,
AbstractHashedMap.HashEntry<K,V> previous)
Removes a mapping from the map.
|
protected void |
AbstractHashedMap.reuseEntry(AbstractHashedMap.HashEntry<K,V> entry,
int hashIndex,
int hashCode,
K key,
V value)
Reuses an existing key-value mapping, storing completely new data.
|
protected void |
AbstractHashedMap.updateEntry(AbstractHashedMap.HashEntry<K,V> entry,
V newValue)
Updates an existing key-value mapping to change the value.
|
| Constructor and Description |
|---|
AbstractHashedMap.HashEntry(AbstractHashedMap.HashEntry<K,V> next,
int hashCode,
K key,
V value) |
Copyright © 2014. All Rights Reserved.