Interface MapMakerInternalMap.InternalEntryHelper<K,​V,​E extends MapMakerInternalMap.InternalEntry<K,​V,​E>,​S extends MapMakerInternalMap.Segment<K,​V,​E,​S>>

    • Method Detail

      • newSegment

        S newSegment​(MapMakerInternalMap<K,​V,​E,​S> map,
                     int initialCapacity,
                     int maxSegmentSize)
        Returns a freshly created segment, typed at the S type.
      • newEntry

        E newEntry​(S segment,
                   K key,
                   int hash,
                   @Nullable
                   E next)
        Returns a freshly created entry, typed at the E type, for the given segment.
      • copy

        E copy​(S segment,
               E entry,
               @Nullable
               E newNext)
        Returns a freshly created entry, typed at the E type, for the given segment, that is a copy of the given entry.
      • setValue

        void setValue​(S segment,
                      E entry,
                      V value)
        Sets the value of the given entry in the given segment to be the given value