final class HashEntry
extends java.lang.Object
Segment
class.Modifier and Type | Field and Description |
---|---|
protected DiskStorageFactory.DiskSubstitute |
element
Reference to the DiskSubstitute for this entry.
|
protected int |
hash
Spread hash value for they key.
|
protected java.lang.Object |
key
Key instance for this mapping.
|
protected HashEntry |
next
Reference to the next HashEntry in this chain.
|
Constructor and Description |
---|
HashEntry(java.lang.Object key,
int hash,
HashEntry next,
DiskStorageFactory.DiskSubstitute element)
Constructs a HashEntry instance mapping the supplied key, value pair
and linking it to the supplied HashEntry
|
protected final java.lang.Object key
protected final int hash
protected final HashEntry next
protected volatile DiskStorageFactory.DiskSubstitute element
HashEntry(java.lang.Object key, int hash, HashEntry next, DiskStorageFactory.DiskSubstitute element)
key
- key for this entryhash
- spread-hash for this entrynext
- next HashEntry in the chainelement
- initial value for this entry