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 » -

On Java 8’s introduction of Optional
I had recently discovered the JDK 8′s addition of the Optional type. The Optional type is a way to avoid…
Read More » -

SuperMan bound by Java Monitors
Its a dark time in the life of Super Man. Jor-El wants him to go on a voyage to prepare…
Read More » -

Predicate and Consumer Interface in java.util.function package in Java 8
In my previous post I wrote about Function interface which is part of java.util.package. I also mentioned about Predicate interface…
Read More » -

Bending NetBeans Code Templates to My Will
Anyone who has read any of my posts on NetBeans knows that there are numerous features of NetBeans that I…
Read More » -

Inadvertent Recursion Protection with Java ThreadLocals
Now here’s a little trick for those of you hacking around with third-party tools, trying to extend them without fully…
Read More » -

Function interface – A functional interface in the java.util.function package in Java 8
I had previously written about functional interfaces and their usage. If you are exploring the APIs to be part of…
Read More » -

Java 8 Lambdas – The missing link to moving away from Java
I learnt functional programming, but then I decided I liked imperative programming better so I switched back. — Nobody, ever…
Read More » -

Java StringBuilder myth debunked
The myth Concatenating two Strings with the plus operator is the source of all evil — Anonymous Java dev NOTE:…
Read More »

