Class PersistentTrieMap<K,​V>

    • Method Detail

      • of

        public static final <K,​V> Map.Immutable<K,​V> of​(java.lang.Object... keyValuePairs)
      • transientOf

        public static final <K,​V> Map.Transient<K,​V> transientOf()
      • transientOf

        public static final <K,​V> Map.Transient<K,​V> transientOf​(java.lang.Object... keyValuePairs)
      • checkHashCodeAndSize

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

        public static final int transformHashCode​(int hash)
      • 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>
      • 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>
      • 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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getNodeCount

        protected int getNodeCount()
      • arityCombinationsHistogram

        protected int[][] arityCombinationsHistogram()
      • arityHistogram

        protected int[] arityHistogram()
      • printStatistics

        public void printStatistics()