Class PersistentTrieMap.TransientTrieMap<K,​V>

    • Field Detail

      • mutator

        private final java.util.concurrent.atomic.AtomicReference<java.lang.Thread> mutator
      • cachedHashCode

        private int cachedHashCode
      • cachedSize

        private int cachedSize
    • Method Detail

      • checkHashCodeAndSize

        private boolean checkHashCodeAndSize​(int targetHash,
                                             int targetSize)
      • put

        public V put​(K key,
                     V val)
        Specified by:
        put in interface java.util.Map<K,​V>
      • putAll

        public void putAll​(java.util.Map<? extends K,​? extends V> m)
        Specified by:
        putAll in interface java.util.Map<K,​V>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Map<K,​V>
      • remove

        public V remove​(java.lang.Object key)
        Specified by:
        remove in interface java.util.Map<K,​V>
      • containsKey

        public boolean containsKey​(java.lang.Object o)
        Specified by:
        containsKey in interface Map<K,​V>
        Specified by:
        containsKey in interface java.util.Map<K,​V>
      • containsValue

        public boolean containsValue​(java.lang.Object o)
        Specified by:
        containsValue in interface Map<K,​V>
        Specified by:
        containsValue in interface java.util.Map<K,​V>
      • get

        public V get​(java.lang.Object o)
        Specified by:
        get in interface Map<K,​V>
        Specified by:
        get in interface java.util.Map<K,​V>
      • __putAll

        public boolean __putAll​(java.util.Map<? extends K,​? extends V> map)
        Specified by:
        __putAll in interface Map.Transient<K,​V>
      • size

        public int size()
        Specified by:
        size in interface Map<K,​V>
        Specified by:
        size in interface java.util.Map<K,​V>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface Map<K,​V>
        Specified by:
        isEmpty in interface java.util.Map<K,​V>
      • keyIterator

        public java.util.Iterator<K> keyIterator()
        Specified by:
        keyIterator in interface Map<K,​V>
      • valueIterator

        public java.util.Iterator<V> valueIterator()
        Specified by:
        valueIterator in interface Map<K,​V>
      • entryIterator

        public java.util.Iterator<java.util.Map.Entry<K,​V>> entryIterator()
        Specified by:
        entryIterator in interface Map<K,​V>
      • keySet

        public java.util.Set<K> keySet()
        Specified by:
        keySet in interface java.util.Map<K,​V>
      • values

        public java.util.Collection<V> values()
        Specified by:
        values in interface java.util.Map<K,​V>
      • entrySet

        public java.util.Set<java.util.Map.Entry<K,​V>> entrySet()
        Specified by:
        entrySet in interface java.util.Map<K,​V>
      • equals

        public boolean equals​(java.lang.Object other)
        Specified by:
        equals in interface Map<K,​V>
        Specified by:
        equals in interface java.util.Map<K,​V>
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface Map<K,​V>
        Specified by:
        hashCode in interface java.util.Map<K,​V>
        Specified by:
        hashCode in interface MapEq<K,​V>
        Overrides:
        hashCode in class java.lang.Object