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 java.lang.Object implements MapMakerInternalMap.InternalEntry<K,V,E>
Base class forMapMakerInternalMap.InternalEntryimplementations 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 intgetHash()Gets the entry's hash.KgetKey()Gets the key for this entry.EgetNext()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.InternalEntryGets the key for this entry.- Specified by:
getKeyin interfaceMapMakerInternalMap.InternalEntry<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>>
-
getHash
public int getHash()
Description copied from interface:MapMakerInternalMap.InternalEntryGets the entry's hash.- Specified by:
getHashin interfaceMapMakerInternalMap.InternalEntry<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>>
-
getNext
public E getNext()
Description copied from interface:MapMakerInternalMap.InternalEntryGets the next entry in the chain.- Specified by:
getNextin interfaceMapMakerInternalMap.InternalEntry<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>>
-
-