Class IdHashMap

  • All Implemented Interfaces:
    java.util.Map

    public final class IdHashMap
    extends java.util.AbstractMap
    implements java.util.Map
    • Nested Class Summary

      • 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
      boolean containsKey​(java.lang.Object key)  
      protected java.util.Map.Entry createIdEntry​(java.lang.Object key, java.lang.Object val)  
      protected java.util.Map.Entry createIdEntry​(java.util.Map.Entry entry)  
      protected com.mchange.v1.identicator.IdHashKey createIdKey​(java.lang.Object o)  
      java.util.Set entrySet()  
      java.lang.Object get​(java.lang.Object key)  
      protected java.util.Set internalEntrySet()  
      java.lang.Object put​(java.lang.Object key, java.lang.Object value)  
      java.lang.Object remove​(java.lang.Object key)  
      protected java.lang.Object removeIdHashKey​(com.mchange.v1.identicator.IdHashKey idhk)  
      • Methods inherited from class java.util.AbstractMap

        clear, clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
    • Constructor Detail

    • Method Detail

      • createIdKey

        protected com.mchange.v1.identicator.IdHashKey createIdKey​(java.lang.Object o)
      • put

        public java.lang.Object put​(java.lang.Object key,
                                    java.lang.Object value)
        Specified by:
        put in interface java.util.Map
        Overrides:
        put in class java.util.AbstractMap
      • containsKey

        public boolean containsKey​(java.lang.Object key)
        Specified by:
        containsKey in interface java.util.Map
        Overrides:
        containsKey in class java.util.AbstractMap
      • get

        public java.lang.Object get​(java.lang.Object key)
        Specified by:
        get in interface java.util.Map
        Overrides:
        get in class java.util.AbstractMap
      • remove

        public java.lang.Object remove​(java.lang.Object key)
        Specified by:
        remove in interface java.util.Map
        Overrides:
        remove in class java.util.AbstractMap
      • removeIdHashKey

        protected java.lang.Object removeIdHashKey​(com.mchange.v1.identicator.IdHashKey idhk)
      • entrySet

        public java.util.Set entrySet()
        Specified by:
        entrySet in interface java.util.Map
        Specified by:
        entrySet in class java.util.AbstractMap
      • internalEntrySet

        protected final java.util.Set internalEntrySet()
      • createIdEntry

        protected final java.util.Map.Entry createIdEntry​(java.lang.Object key,
                                                          java.lang.Object val)
      • createIdEntry

        protected final java.util.Map.Entry createIdEntry​(java.util.Map.Entry entry)