class ALDWeakHashMapEntry extends WeakReference
| Modifier and Type | Field and Description |
|---|---|
protected int |
hash
Hash value of referenced object.
|
protected ALDWeakHashMapEntry |
next
Pointer to the next reference in hashmap list.
|
protected Object |
value
Referenced object itself.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ALDWeakHashMapEntry(int _hash,
Object _key,
Object _value,
ALDWeakHashMapEntry _next,
ReferenceQueue<Object> queue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getKey()
Returns the key of this hashmap element.
|
ALDWeakHashMapEntry |
getNext()
Returns reference to subsequent hash element.
|
Object |
getValue()
Returns the value of this hashmap element.
|
Object |
setValue(Object _value)
Sets the value of the hashmap entry.
|
clear, enqueue, get, isEnqueuedprotected final int hash
protected volatile Object value
protected volatile ALDWeakHashMapEntry next
protected ALDWeakHashMapEntry(int _hash,
Object _key,
Object _value,
ALDWeakHashMapEntry _next,
ReferenceQueue<Object> queue)
_hash - Hash value._key - Key object._value - Hashmap value of the object._next - Reference to subsequent object.queue - Queue for managing references of deleted objects.public Object getKey()
public Object getValue()
public ALDWeakHashMapEntry getNext()
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.