Package com.google.common.collect
Class MapMakerInternalMap.AbstractStrongKeyEntry<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>>
java.lang.Object
com.google.common.collect.MapMakerInternalMap.AbstractStrongKeyEntry<K,V,E>
- All Implemented Interfaces:
MapMakerInternalMap.InternalEntry<K,
V, E>
- Direct Known Subclasses:
MapMakerInternalMap.StrongKeyDummyValueEntry
,MapMakerInternalMap.StrongKeyStrongValueEntry
,MapMakerInternalMap.StrongKeyWeakValueEntry
- Enclosing class:
MapMakerInternalMap<K,
V, E extends MapMakerInternalMap.InternalEntry<K, V, E>, S extends MapMakerInternalMap.Segment<K, V, E, S>>
abstract static class MapMakerInternalMap.AbstractStrongKeyEntry<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>>
extends Object
implements MapMakerInternalMap.InternalEntry<K,V,E>
Base class for
MapMakerInternalMap.InternalEntry
implementations for strong keys.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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
getValue
-
Field Details
-
key
-
hash
final int hash
-
-
Constructor Details
-
AbstractStrongKeyEntry
AbstractStrongKeyEntry(K key, int hash)
-
-
Method Details
-
getKey
Description copied from interface:MapMakerInternalMap.InternalEntry
Gets the key for this entry.- Specified by:
getKey
in interfaceMapMakerInternalMap.InternalEntry<K,
V, E extends MapMakerInternalMap.InternalEntry<K, V, E>>
-
getHash
public final int getHash()Description copied from interface:MapMakerInternalMap.InternalEntry
Gets the entry's hash.- Specified by:
getHash
in interfaceMapMakerInternalMap.InternalEntry<K,
V, E extends MapMakerInternalMap.InternalEntry<K, V, E>>
-
getNext
Description copied from interface:MapMakerInternalMap.InternalEntry
Gets the next entry in the chain.- Specified by:
getNext
in interfaceMapMakerInternalMap.InternalEntry<K,
V, E extends MapMakerInternalMap.InternalEntry<K, V, E>>
-