Collections
-
Core Java
How HashMap works in java
Most common interview questions are “How HashMap works in java”, “How get and put method of HashMap work internally”. Here…
Read More » -
Core Java
Java, Scala, Guava and Trove Collections – How Much Data Can They Hold?
One of the fascinating things about our data structures is that even though we’re so familiar with them, it’s still…
Read More » -
Core Java
On Java Collection Waste
This article is about overhead posed by one of the most popular frameworks used – I bet there is close…
Read More » -
Core Java
ArrayList vs LinkedList
I must confess the title of this post is a little bit catchy. I have recently read this blog post…
Read More » -
Core Java
Would you dare to change HashMap implementation?
There are bold engineers working for the Oracle nowadays. I came to this conclusion when trying to nail down a…
Read More » -
Core Java
Most efficient way to increment a Map value in Java – Only search the key once
This question may be considered too basic, but is frequently asked in the forums. In this post, I will discuss…
Read More » -
Core Java
Arrays.sort versus Arrays.parallelSort
We all have used Arrays.sort to sort objects and primitive arrays. This API used merge sort OR Tim Sort underneath…
Read More » -
Core Java
Java Collections API Quirks
So we tend to think we’ve seen it all, when it comes to the Java Collections API. We know our…
Read More » -
Core Java
40 Java Collections Interview Questions and Answers
Java Collections Framework are the fundamental aspect of java programming language. It’s one of the important topic for java interview…
Read More »