Package | Description |
---|---|
com.espertech.esper.collection.apachecommons |
Apache commons collection classes such as for soft-reference map implementation
|
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractReferenceMap.ReferenceEntry
A MapEntry implementation for the map.
|
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 |
AbstractHashedMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates an entry to store the key-value data.
|
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.HashIterator.currentEntry()
Current entry.
|
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()
Next entry.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractHashedMap.addEntry(AbstractHashedMap.HashEntry entry,
int hashIndex)
Adds an entry into this map.
|
protected AbstractHashedMap.HashEntry |
AbstractReferenceMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates a ReferenceEntry instead of a HashEntry.
|
protected AbstractHashedMap.HashEntry |
AbstractHashedMap.createEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates an entry to store the key-value 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 void |
AbstractHashedMap.removeEntry(AbstractHashedMap.HashEntry entry,
int hashIndex,
AbstractHashedMap.HashEntry previous)
Removes an entry from the chain stored in a particular index.
|
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.
|
Constructor and Description |
---|
HashEntry(AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Ctor.
|
ReferenceEntry(AbstractReferenceMap parent,
AbstractHashedMap.HashEntry next,
int hashCode,
Object key,
Object value)
Creates a new entry object for the ReferenceMap.
|