Core Java
-

Accumulative: Custom Java Collectors Made Easy
Accumulative is an interface proposed for the intermediate accumulation type A of Collector<T, A, R> in order to make defining…
Read More » -

To See a World in a Grain of Sand: Once Again Hello World
“To see a world in a grain of sand”, and we would probably see a world in the simplest “Hello…
Read More » -

Behind-the-Scenes Secrets of Jsoup V: Tips & Tricks of Optimization
We have done things right, now it’s time to do things faster. We would keep Donald Knuth‘s warning in mind,…
Read More » -

A Simple Approach to Simulate User Input and Check Output
Recently some of my students asked me about the mechanism of unit test provided by MOOC from University of Helsinki,…
Read More » -

jcmd, Circa JDK 11
Nicolas Fränkel recently published a survey of command-line tools delivered with OpenJDK 11 in the blog post “OpenJDK 11, tools…
Read More » -

Filterer Pattern in 10 Steps
Filterer is a pattern that should be applied only in certain cases. In the original post, I presented a very simple example…
Read More » -

JDK 9/JEP 280: String Concatenations Will Never Be the Same
JEP 280 (“Indify String Concatenation”) was implemented in conjunction with JDK 9 and, according to its “Summary” section, “Change[s] the…
Read More » -

Transformer Pattern
The Transformer pattern is a design pattern for Java (and potentially other OO languages with use-site variance only and invariant parameter types)…
Read More » -

Custom Compact Number Patterns with JDK 12 Compact Number Formatting
The post “Compact Number Formatting Comes to JDK 12” has been the subject of discussion on a java subreddit thread.…
Read More »
