Skip to main content

Home/ EdTechTalk/ Group items tagged #IdentityHashMap

Rss Feed Group items tagged

eyssant

Java.util.IdentityHashMap Class - AlphaCodingSkills - 0 views

  •  
    Java.util package provides an IdentityHashMap class which implements the Map interface with a hash table, using reference-equality in place of object-equality when comparing keys (and values). In other words, in an IdentityHashMap, two keys k1 and k2 are considered equal if and only if (k1==k2). (In normal Map implementations (like HashMap) two keys k1 and k2 are considered equal if and only if (k1==null ? k2==null : k1.equals(k2)).)
1 - 1 of 1
Showing 20 items per page