Dani BuizaNovember 20th, 2014Last Updated: February 25th, 2019 The way java.util.HashMap entries are indexed and stored has changed in the Java 8 update. Hash elements use balanced trees instead of linked lists under certain circumstances now. All these is what this article is about. The main idea is that when the number of items in a hash is larger than a certain value, the hash will change from
{{#tags}}- {{label}}
{{/tags}}