Core Java
-

Programmatically Determining Java Class’s JDK Compilation Version
When it is necessary to determine which JDK version was used to compile a particular Java .class file, an approach…
Read More » -

You Will Regret Applying Overloading with Lambdas!
Writing good APIs is hard. Extremely hard. You have to think of an incredible amount of things if you want…
Read More » -

Java 8 Optional is not just for replacing a null value
Overview In Java 8, you can return an Optional instead of return null; as you might do in Java 7.…
Read More » -

Testing Grunt Plugin From Grunt
Writing tests for grunt plugin turned out to be less straightforward then expected. I needed to run multiple task configurations…
Read More » -

Everything You Need To Know About Default Methods
So, default methods… yesterday’s news, right? Yes but after a year of use, a lot of facts accumulated and I…
Read More » -

How The Decorator Pattern Saved My Day
At work I am dealing with a huge Java code base, which was developed over the course of more than…
Read More » -

The Serialization Proxy Pattern
In my last post, I talked about serialization in general. This one is much more focused and presents a single…
Read More » -

Calling grandparent methods in Java: you can not
In the article Fine points of protection I detailed how “protected” extends the “package private” access. There I wrote: What…
Read More » -

Reason for Slower Reading of Large Lines in JDK 7 and JDK 8
I earlier posted the blog post Reading Large Lines Slower in JDK 7 and JDK 8 and there were some…
Read More »


