Package com.google.common.collect
Class MapMakerInternalMap.DummyInternalEntry
- java.lang.Object
-
- com.google.common.collect.MapMakerInternalMap.DummyInternalEntry
-
- All Implemented Interfaces:
MapMakerInternalMap.InternalEntry<java.lang.Object,java.lang.Object,MapMakerInternalMap.DummyInternalEntry>
- Enclosing class:
- MapMakerInternalMap<K,V,E extends MapMakerInternalMap.InternalEntry<K,V,E>,S extends MapMakerInternalMap.Segment<K,V,E,S>>
static final class MapMakerInternalMap.DummyInternalEntry extends java.lang.Object implements MapMakerInternalMap.InternalEntry<java.lang.Object,java.lang.Object,MapMakerInternalMap.DummyInternalEntry>
A dummy implementation ofMapMakerInternalMap.InternalEntry
, solely for use in the type signature ofMapMakerInternalMap.UNSET_WEAK_VALUE_REFERENCE
below.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
DummyInternalEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHash()
Gets the entry's hash.java.lang.Object
getKey()
Gets the key for this entry.MapMakerInternalMap.DummyInternalEntry
getNext()
Gets the next entry in the chain.java.lang.Object
getValue()
Gets the value for the entry.
-
-
-
Method Detail
-
getNext
public MapMakerInternalMap.DummyInternalEntry getNext()
Description copied from interface:MapMakerInternalMap.InternalEntry
Gets the next entry in the chain.- Specified by:
getNext
in interfaceMapMakerInternalMap.InternalEntry<java.lang.Object,java.lang.Object,MapMakerInternalMap.DummyInternalEntry>
-
getHash
public int getHash()
Description copied from interface:MapMakerInternalMap.InternalEntry
Gets the entry's hash.- Specified by:
getHash
in interfaceMapMakerInternalMap.InternalEntry<java.lang.Object,java.lang.Object,MapMakerInternalMap.DummyInternalEntry>
-
getKey
public java.lang.Object getKey()
Description copied from interface:MapMakerInternalMap.InternalEntry
Gets the key for this entry.- Specified by:
getKey
in interfaceMapMakerInternalMap.InternalEntry<java.lang.Object,java.lang.Object,MapMakerInternalMap.DummyInternalEntry>
-
getValue
public java.lang.Object getValue()
Description copied from interface:MapMakerInternalMap.InternalEntry
Gets the value for the entry.- Specified by:
getValue
in interfaceMapMakerInternalMap.InternalEntry<java.lang.Object,java.lang.Object,MapMakerInternalMap.DummyInternalEntry>
-
-