Core Java
-
Default methods an approach to extend legacy code
As you know the new version of java was released on 18 March 2014 and i am going to introduce…
Read More » -
What are Mockito Extra Interfaces?
Mockito is my favored little helper if it comes down to write light weight JUnit tests. It is very useful…
Read More » -
JUnit ExpectedException rule: beyond basics
There are different ways of handling exceptions in JUnit tests. As I wrote in one of my previous posts, my…
Read More » -
Java can finally join strings
I am sure you were in a situation in which you wanted to join multiple strings. If you were using…
Read More » -
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 » -
Migrating from javaagent to JVMTI: our experience
When you need to gather data from within the JVM, you will find yourself working dangerously close to the Java…
Read More » -
Simplifying ReadWriteLock with Java 8 and lambdas
Considering legacy Java code, no matter where you look, Java 8 with lambda expressions can definitely improve quality and readability.…
Read More » -
Getting JUnit Test Names Right
Finding good names is one of the challanges of crafting software. And you need to find them all the time…
Read More » -
Java 8 Friday Goodies: Lean Concurrency
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More »