Core Java
-
The JDK 8 SummaryStatistics Classes
Three of the new classes introduced in JDK 8 are DoubleSummaryStatistics, IntSummaryStatistics, and LongSummaryStatistics of the java.util package. These classes…
Read More » -
Dealing with Interruptions
I was just watching the VJUG interview with Heinz Kabutz which inspired me to write a post about Interruptions. By…
Read More » -
Getting Rid Of Anonymous Classes
I really enjoy writing and reading lambda expressions – they’re succinct, expressive and fashionable (come on, like that doesn’t matter…
Read More » -
Design Patterns in the 21st Century: The Adapter Pattern
This is part three of my talk, Design Patterns in the 21st Century. The Adapter pattern bridges worlds. In one…
Read More » -
Design Patterns in the 21st Century: The Abstract Factory Pattern
This is part two of my talk, Design Patterns in the 21st Century. This pattern is used everywhere in Java…
Read More » -
Interface Evolution With Default Methods – Part II: Interfaces
Default methods were introduced to enable interface evolution. If backwards compatibility is sacrosanct, this is limited to adding new methods…
Read More » -
Java 8 Lambdas in One Line
If you understand this line, or better still can write this code you can pretty much say that you have…
Read More » -
7 Things You Thought You Knew About Garbage Collection – and Are Totally Wrong
What are the biggest misconceptions about Java Garbage Collection and how’s it really like? When I was a kid my…
Read More » -
A way to read properties with variable interpolation
Recently, I tried to define and read a global properties in an application server. The benefit of such property configured…
Read More »