Core Java
-

Playing with Java 8 – Lambdas and Concurrency
So Java 8 was released a while back, with a ton of features and changes. All us Java zealots have…
Read More » -

Live Templates in IntelliJ
As described here, IntelliJ’s live templates let you easily insert predefined code fragments into your source code. I have posted…
Read More » -

Difference between State and Strategy Design Pattern in Java
In order to make proper use of State and Strategy design Pattern in Core Java application, its important for a…
Read More » -

HashMap performance improvements in Java 8
HashMap<K, V> is fast, versatile and ubiquitous data structure in every Java program. First some basics. As you probably know,…
Read More » -

Handy New Map Default Methods in JDK 8
The Map interface provides some handy new methods in JDK 8. Because the Map methods I cover in this post…
Read More » -

Clean Synchronization Using ReentrantLock and Lambdas
Recently I was reading an informative post about the differences between synchronized vs ReentrantLock by Javin Paul1. He emphasises on…
Read More » -

Java 8 LongAdders: The Right Way To Manage Concurrent Counters
I just lOvE new toys, and Java 8 has a bunch of them. This time around I want to talk…
Read More » -

10 JDK 7 Features to Revisit, Before You Welcome Java 8
It’s been almost a month Java 8 is released and I am sure all of you are exploring new features…
Read More » -

Programmatic Access to Sizes of Java Primitive Types
One of the first things many developers new to Java learn about is Java’s basic primitive data types, their fixed…
Read More »

