Core Java
-
Using AssertJ and Awaitility together thanks to Java 8 and lambdas
AssertJ and Awaitility are two of my favorites tools using in automatic code testing. Unfortunately until recently it was not…
Read More » -
How JSR107 Caching Annotations are meant to be used
I am getting a few questions lately on JSR107 caching annotations and whether implementations of JSR107 are providing them. Caching…
Read More » -
How to Convert Byte Array to InputStream and OutputStream in Java
Are you stuck with your coding because you have a byte array and next method in chain needs an InputStream?…
Read More » -
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 »