tag:blogger.com,1999:blog-8712770457197348465.post5550523737820166186..comments2017-08-17T20:55:23.441-07:00Comments on Javarevisited: Difference between IdentityHashMap and HashMap in JavaJavin Paulhttps://plus.google.com/114528699166048052030noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-8712770457197348465.post-36903340480351208362014-12-17T01:38:26.066-08:002014-12-17T01:38:26.066-08:00What is the real life example where you want to us...What is the real life example where you want to use IdentityHashMap? I know that all meaningful object override equals() and hashCode but I think for things like database Connections, or file handles we can use this map as cache. agree?Jsonnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-62730054410260143362014-05-07T03:29:47.405-07:002014-05-07T03:29:47.405-07:00What is hash collision?What is hash collision?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-14309248842557579352013-05-01T02:35:25.119-07:002013-05-01T02:35:25.119-07:00What is meany by hash collisionWhat is meany by hash collisionAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-43087828785781556992013-02-04T21:28:47.001-08:002013-02-04T21:28:47.001-08:00You will never have hash collison with IdentityHas...You will never have hash collison with IdentityHashMap :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-71991844033808666402013-01-30T23:09:59.201-08:002013-01-30T23:09:59.201-08:00Hi, how about performance? I assume IdentityHashM...Hi, how about performance? I assume IdentityHashMap will perform better than HashMap because of reference comparison but how much performance gain you make when you switch from HashMap to IdentityHashMap?Anonymousnoreply@blogger.com