Core Java
-
Printing arrays by hacking the JVM
Overview One the most common gotchas in Java, is knowing how to print arrays. If an answer on how to…
Read More » -
JUnit 5 – Basics
Last week we’ve set up JUnit 5 to be able to write tests. So let’s do it! Overview This post…
Read More » -
Java compile in Java
In a previous post I wrote about how to generate a proxy during run-time and we got as far as…
Read More » -
Java A’s new Local-Variable Type Inference
News could hardly get more exciting than this, for a programming language aficionado! There is now a JEP 286 for…
Read More » -
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 »