Class LockPoolSynchronizedMap<K,​V>

    • Nested Class Summary

      • Nested classes/interfaces inherited from class gnu.trove.map.hash.THashMap

        gnu.trove.map.hash.THashMap.EntryView, gnu.trove.map.hash.THashMap.KeyView, gnu.trove.map.hash.THashMap.ValueView
    • Field Summary

      • Fields inherited from class gnu.trove.map.hash.THashMap

        _values
      • Fields inherited from class gnu.trove.impl.hash.TObjectHash

        _set, consumeFreeSlot, FREE, REMOVED
      • Fields inherited from class gnu.trove.impl.hash.THash

        _autoCompactionFactor, _autoCompactRemovesRemaining, _autoCompactTemporaryDisable, _free, _loadFactor, _maxSize, _size, DEFAULT_CAPACITY, DEFAULT_LOAD_FACTOR
    • Constructor Detail

      • LockPoolSynchronizedMap

        public LockPoolSynchronizedMap()
      • LockPoolSynchronizedMap

        public LockPoolSynchronizedMap​(int initialCapacity)
      • LockPoolSynchronizedMap

        public LockPoolSynchronizedMap​(int initialCapacity,
                                       float loadFactor)
    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface Map<K,​V>
        Overrides:
        size in class gnu.trove.impl.hash.THash
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface Map<K,​V>
        Overrides:
        isEmpty in class gnu.trove.impl.hash.THash
      • containsKey

        public boolean containsKey​(Object key)
        Specified by:
        containsKey in interface Map<K,​V>
        Overrides:
        containsKey in class gnu.trove.map.hash.THashMap<K,​V>
      • containsValue

        public boolean containsValue​(Object value)
        Specified by:
        containsValue in interface Map<K,​V>
        Overrides:
        containsValue in class gnu.trove.map.hash.THashMap<K,​V>
      • get

        public V get​(Object key)
        Specified by:
        get in interface Map<K,​V>
        Overrides:
        get in class gnu.trove.map.hash.THashMap<K,​V>
      • put

        public V put​(K key,
                     V value)
        Specified by:
        put in interface Map<K,​V>
        Overrides:
        put in class gnu.trove.map.hash.THashMap<K,​V>
      • remove

        public V remove​(Object key)
        Specified by:
        remove in interface Map<K,​V>
        Overrides:
        remove in class gnu.trove.map.hash.THashMap<K,​V>
      • putAll

        public void putAll​(Map<? extends K,​? extends V> map)
        Specified by:
        putAll in interface Map<K,​V>
        Overrides:
        putAll in class gnu.trove.map.hash.THashMap<K,​V>
      • clear

        public void clear()
        Specified by:
        clear in interface Map<K,​V>
        Overrides:
        clear in class gnu.trove.map.hash.THashMap<K,​V>
      • keySet

        public Set<K> keySet()
        Specified by:
        keySet in interface Map<K,​V>
        Overrides:
        keySet in class gnu.trove.map.hash.THashMap<K,​V>
      • entrySet

        public Set<Map.Entry<K,​V>> entrySet()
        Specified by:
        entrySet in interface Map<K,​V>
        Overrides:
        entrySet in class gnu.trove.map.hash.THashMap<K,​V>
      • values

        public Collection<V> values()
        Specified by:
        values in interface Map<K,​V>
        Overrides:
        values in class gnu.trove.map.hash.THashMap<K,​V>
      • putIfAbsent

        public V putIfAbsent​(K key,
                             V value)
        Specified by:
        putIfAbsent in interface ConcurrentMap<K,​V>
        Specified by:
        putIfAbsent in interface Map<K,​V>
        Specified by:
        putIfAbsent in interface gnu.trove.map.TMap<K,​V>
        Overrides:
        putIfAbsent in class gnu.trove.map.hash.THashMap<K,​V>