Core Java
-
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 » -
JDK 13: What AggressiveOpts?
The Java VM flag -XX:+AggressiveOpts was deprecated in JDK 11 [see JDK-8199777 and JDK-8199778] “because its behavior is ill-defined.” The…
Read More » -
Running JAXB xjc Compiler with OpenJDK 11
As described in the post “APIs To Be Removed from Java 11,” a JAXB implementation is no longer included with…
Read More » -
How much faster is Java 11?
Java 11 was released some time ago, although the majority of developers stay on Java 8. Let’s see which one of…
Read More » -
Using Minimum Fractional Digits with JDK 12 Compact Number Formatting
The post “Compact Number Formatting Comes to JDK 12” demonstrated the support added to NumberFormat in JDK 12 to support…
Read More » -
Different States of Java Threads
Introduction In Java, threads can have States. The Thread.State enum defines the different states that a Java thread can have.…
Read More »