Class StringHashMapList

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

    public class StringHashMapList
    extends java.util.concurrent.ConcurrentHashMap<java.lang.Integer,​java.lang.String>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap

        java.util.concurrent.ConcurrentHashMap.KeySetView<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • 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.util.concurrent.ConcurrentHashMap

        clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
      • Methods inherited from class java.util.AbstractMap

        clone
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StringHashMapList

        public StringHashMapList()
    • 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).