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.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 java.lang.Object implements MapMakerInternalMap.InternalEntry<K,V,E>
Base class forMapMakerInternalMap.InternalEntry
implementations for strong keys.
-
-
Constructor Summary
Constructors Constructor Description AbstractStrongKeyEntry(K key, int hash, E next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHash()
Gets the entry's hash.K
getKey()
Gets the key for this entry.E
getNext()
Gets the next entry in the chain.-
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
-
-
-
-
Method Detail
-
getKey
public K 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 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
public 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>>
-
-