Class StringHashMapList3

  • All Implemented Interfaces:
    java.util.Map<java.lang.Integer,​java.lang.String>

    public class StringHashMapList3
    extends IntStringMap
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addValueAndShiftKeys​(int fromIndex, int toIndex, java.lang.String label)
      shift elements all keys from starting index until the last toIndex.
      void remove​(int fromIndex, int toIndex)
      Removes elements of this list using optimised system calls.
      void setAll​(StringHashMapList other)  
      void shiftKeys​(int fromIndex, int toIndex)
      shift elements all keys from starting index until the last toIndex.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Constructor Detail

      • StringHashMapList3

        public StringHashMapList3()
    • Method Detail

      • addValueAndShiftKeys

        public void addValueAndShiftKeys​(int fromIndex,
                                         int toIndex,
                                         java.lang.String label)
        shift elements all keys from starting index until the last toIndex.
        Parameters:
        fromIndex - the start index (inclusive).
        toIndex - the end index (exclusive).
        label - label to be added
      • remove

        public void remove​(int fromIndex,
                           int toIndex)
        Removes elements of this list using optimised system calls.
        Parameters:
        fromIndex - the start index (inclusive).
        toIndex - the end index (exclusive).
      • shiftKeys

        public void shiftKeys​(int fromIndex,
                              int toIndex)
        shift elements all keys from starting index until the last toIndex.
        Parameters:
        fromIndex - the start index (inclusive).
        toIndex - the end index (exclusive).