static final class MapMakerInternalMap.StrongKeyStrongValueEntry.Helper<K,V> extends java.lang.Object implements MapMakerInternalMap.InternalEntryHelper<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>,MapMakerInternalMap.StrongKeyStrongValueSegment<K,V>>
MapMakerInternalMap.InternalEntryHelper
for strong keys and strong values.Modifier and Type | Field and Description |
---|---|
private static MapMakerInternalMap.StrongKeyStrongValueEntry.Helper<?,?> |
INSTANCE |
Constructor and Description |
---|
Helper() |
private static final MapMakerInternalMap.StrongKeyStrongValueEntry.Helper<?,?> INSTANCE
static <K,V> MapMakerInternalMap.StrongKeyStrongValueEntry.Helper<K,V> instance()
public MapMakerInternalMap.Strength keyStrength()
MapMakerInternalMap.InternalEntryHelper
keyStrength
in interface MapMakerInternalMap.InternalEntryHelper<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>,MapMakerInternalMap.StrongKeyStrongValueSegment<K,V>>
public MapMakerInternalMap.Strength valueStrength()
MapMakerInternalMap.InternalEntryHelper
valueStrength
in interface MapMakerInternalMap.InternalEntryHelper<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>,MapMakerInternalMap.StrongKeyStrongValueSegment<K,V>>
public MapMakerInternalMap.StrongKeyStrongValueSegment<K,V> newSegment(MapMakerInternalMap<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>,MapMakerInternalMap.StrongKeyStrongValueSegment<K,V>> map, int initialCapacity, int maxSegmentSize)
MapMakerInternalMap.InternalEntryHelper
S
type.newSegment
in interface MapMakerInternalMap.InternalEntryHelper<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>,MapMakerInternalMap.StrongKeyStrongValueSegment<K,V>>
public MapMakerInternalMap.StrongKeyStrongValueEntry<K,V> copy(MapMakerInternalMap.StrongKeyStrongValueSegment<K,V> segment, MapMakerInternalMap.StrongKeyStrongValueEntry<K,V> entry, @Nullable MapMakerInternalMap.StrongKeyStrongValueEntry<K,V> newNext)
MapMakerInternalMap.InternalEntryHelper
E
type, for the given segment
,
that is a copy of the given entry
.copy
in interface MapMakerInternalMap.InternalEntryHelper<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>,MapMakerInternalMap.StrongKeyStrongValueSegment<K,V>>
public void setValue(MapMakerInternalMap.StrongKeyStrongValueSegment<K,V> segment, MapMakerInternalMap.StrongKeyStrongValueEntry<K,V> entry, V value)
MapMakerInternalMap.InternalEntryHelper
entry
in the given segment
to be the given value
setValue
in interface MapMakerInternalMap.InternalEntryHelper<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>,MapMakerInternalMap.StrongKeyStrongValueSegment<K,V>>
public MapMakerInternalMap.StrongKeyStrongValueEntry<K,V> newEntry(MapMakerInternalMap.StrongKeyStrongValueSegment<K,V> segment, K key, int hash, @Nullable MapMakerInternalMap.StrongKeyStrongValueEntry<K,V> next)
MapMakerInternalMap.InternalEntryHelper
E
type, for the given segment
.newEntry
in interface MapMakerInternalMap.InternalEntryHelper<K,V,MapMakerInternalMap.StrongKeyStrongValueEntry<K,V>,MapMakerInternalMap.StrongKeyStrongValueSegment<K,V>>