Package com.google.common.collect
Class MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>
- java.lang.Object
-
- com.google.common.collect.MapMakerInternalMap.AbstractStrongKeyEntry<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>>
-
- com.google.common.collect.MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>
-
- All Implemented Interfaces:
MapMakerInternalMap.InternalEntry<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>>
,MapMakerInternalMap.StrongValueEntry<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>>
- Enclosing class:
- MapMakerInternalMap<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>,S extends MapMakerInternalMap.Segment<K,V,E,S>>
static final class MapMakerInternalMap.StrongKeyStrongValueEntry<K,V> extends MapMakerInternalMap.AbstractStrongKeyEntry<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>> implements MapMakerInternalMap.StrongValueEntry<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>>
Concrete implementation ofMapMakerInternalMap.InternalEntry
for strong keys and strong values.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
MapMakerInternalMap.StrongKeyStrongValueEntry.Helper<K,V>
Concrete implementation ofMapMakerInternalMap.InternalEntryHelper
for strong keys and strong values.
-
Constructor Summary
Constructors Constructor Description StrongKeyStrongValueEntry(K key, int hash, MapMakerInternalMap.StrongKeyStrongValueEntry<K,V> next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>
copy(MapMakerInternalMap.StrongKeyStrongValueEntry<K,V> newNext)
V
getValue()
Gets the value for the entry.(package private) void
setValue(V value)
-
Methods inherited from class com.google.common.collect.MapMakerInternalMap.AbstractStrongKeyEntry
getHash, getKey, getNext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.common.collect.MapMakerInternalMap.InternalEntry
getHash, getKey, getNext
-
-
-
-
Field Detail
-
value
@Nullable private volatile V value
-
-
Constructor Detail
-
StrongKeyStrongValueEntry
StrongKeyStrongValueEntry(K key, int hash, @Nullable MapMakerInternalMap.StrongKeyStrongValueEntry<K,V> next)
-
-
Method Detail
-
getValue
@Nullable public V getValue()
Description copied from interface:MapMakerInternalMap.InternalEntry
Gets the value for the entry.- Specified by:
getValue
in interfaceMapMakerInternalMap.InternalEntry<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>>
-
setValue
void setValue(V value)
-
copy
MapMakerInternalMap.StrongKeyStrongValueEntry<K,V> copy(MapMakerInternalMap.StrongKeyStrongValueEntry<K,V> newNext)
-
-