Core Java
-

Lambda of Lambda, if/else from an Optional
So I got frustrated with two limitations of the Optional interface in JDK 8. The first problem is that there…
Read More » -

@Autowired and optional dependencies
@Autowired annotation makes our lives easier. It also can result in decreased amount of code if we are using it…
Read More » -

Grouping, transforming and reduction with Java 8
1. Introduction In this previous post, I wrote about how we can group collections of objects with streams and grouping.…
Read More » -

Equality vs Identity?
When storing objects in a Set, it is important that the same object can never be added twice. That is…
Read More » -

How to Support Java 6, 8, 9 in a Single API
With jOOQ 3.7, we have finally added formal support for Java 8 features. This opened the door to a lot…
Read More » -

Simple Event Driven design
Overview Developers often ask about the performance or efficiency of a system or their code. What does this really mean?…
Read More » -

jcmd: One JDK Command-Line Tool to Rule Them All
I have referenced the handy JDK tool jcmd in several posts in the past, but focus exclusively on its usefulness…
Read More » -

DIY Annotations
Since Java 5 there have been annotations in Java. I wanted to make my own annotation just to see what…
Read More » -

Multi level grouping with streams
1. Introduction With Java 8 streams it is pretty easy to group collections of objects based on different criteria. In…
Read More »
