Class TwoKeyConcurrentSortedMap<K1,​K2,​V,​M extends java.util.SortedMap<K2,​V>>

  • Type Parameters:
    K1 - the first key type
    K2 - the second key type
    V - the value type
    M - the type for the inner sorted map
    All Implemented Interfaces:
    java.io.Serializable, java.util.concurrent.ConcurrentMap<K1,​M>, java.util.Map<K1,​M>

    public class TwoKeyConcurrentSortedMap<K1,​K2,​V,​M extends java.util.SortedMap<K2,​V>>
    extends TwoKeyConcurrentMap<K1,​K2,​V,​M>
    A two-level concurrent map implementation where the inner map is sorted. Concurrent usage is managed by the outer map. Users can supply the inner sorted map type of their choice.
    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>
    • Constructor Summary

      Constructors 
      Constructor Description
      TwoKeyConcurrentSortedMap​(java.util.function.Supplier<M> innerMapCreator)  
    • Method Summary

      • Methods inherited from class java.util.concurrent.ConcurrentHashMap

        clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, 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

      • TwoKeyConcurrentSortedMap

        public TwoKeyConcurrentSortedMap​(java.util.function.Supplier<M> innerMapCreator)
        Parameters:
        innerMapCreator - supplier for the inner map type