Package org.codehaus.groovy.util
Class ManagedConcurrentMap.EntryWithValue<K,V>
java.lang.Object
org.codehaus.groovy.util.ManagedReference<K>
org.codehaus.groovy.util.ManagedConcurrentMap.Entry<K,V>
org.codehaus.groovy.util.ManagedConcurrentMap.EntryWithValue<K,V>
- All Implemented Interfaces:
AbstractConcurrentMap.Entry<K,V>
,AbstractConcurrentMapBase.Entry<V>
,Finalizable
- Enclosing class:
- ManagedConcurrentMap<K,V>
public static class ManagedConcurrentMap.EntryWithValue<K,V> extends ManagedConcurrentMap.Entry<K,V>
-
Constructor Summary
Constructors Constructor Description EntryWithValue(ReferenceBundle bundle, ManagedConcurrentMap.Segment segment, K key, int hash, V value)
-
Method Summary
Modifier and Type Method Description void
finalizeReference()
V
getValue()
void
setValue(V value)
Methods inherited from class org.codehaus.groovy.util.ManagedConcurrentMap.Entry
finalizeRef, getHash, isEqual, isValid
Methods inherited from class org.codehaus.groovy.util.ManagedReference
clear, get
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EntryWithValue
public EntryWithValue(ReferenceBundle bundle, ManagedConcurrentMap.Segment segment, K key, int hash, V value)
-
-
Method Details
-
getValue
- Specified by:
getValue
in interfaceAbstractConcurrentMapBase.Entry<K>
- Overrides:
getValue
in classManagedConcurrentMap.Entry<K,V>
-
setValue
- Specified by:
setValue
in interfaceAbstractConcurrentMapBase.Entry<K>
- Overrides:
setValue
in classManagedConcurrentMap.Entry<K,V>
-
finalizeReference
public void finalizeReference()- Specified by:
finalizeReference
in interfaceFinalizable
- Overrides:
finalizeReference
in classManagedConcurrentMap.Entry<K,V>
-