Java - HashCollision

Hash Collision:


  • When two objects have the same hashcode but they are different. They internally stored in a list (linked list ). 
  • In Java 8 started using Balanced Tree instead of linked list for storing collided entries.

Comments

Popular posts from this blog

How to set Java Object into JaxBElement ?

GitLab