public static class ManagedConcurrentMap.Entry<K,V> extends ManagedReference<K> implements AbstractConcurrentMap.Entry<K,V>
Constructor and Description |
---|
Entry(ReferenceBundle bundle,
ManagedConcurrentMap.Segment segment,
K key,
int hash) |
Modifier and Type | Method and Description |
---|---|
void |
finalizeRef()
Deprecated.
use finalizeReference
|
void |
finalizeReference() |
int |
getHash() |
V |
getValue() |
boolean |
isEqual(K key,
int hash) |
boolean |
isValid() |
void |
setValue(V value) |
clear, get
public Entry(ReferenceBundle bundle, ManagedConcurrentMap.Segment segment, K key, int hash)
public boolean isValid()
isValid
in interface AbstractConcurrentMapBase.Entry<V>
public boolean isEqual(K key, int hash)
isEqual
in interface AbstractConcurrentMap.Entry<K,V>
public V getValue()
getValue
in interface AbstractConcurrentMapBase.Entry<V>
public void setValue(V value)
setValue
in interface AbstractConcurrentMapBase.Entry<V>
public int getHash()
getHash
in interface AbstractConcurrentMapBase.Entry<V>
public void finalizeReference()
finalizeReference
in interface Finalizable
finalizeReference
in class ManagedReference<K>
@Deprecated public void finalizeRef()