Javadoc with Style
The German version of this article has been published in JavaSPEKTRUM 6/2022 and can be downloaded and read as a PDF file. Abstract Javadoc has proven its value as a source-code…
The German version of this article has been published in JavaSPEKTRUM 6/2022 and can be downloaded and read as a PDF file. Abstract Javadoc has proven its value as a source-code…
Introduction In this blog post, I want to introduce the fork/join framework that has been part of Java since version 7. In order to demonstrate its great advantages, I set…
Introduction In Part 1 of this topic, I’ve shown you several ways of implementing equals and hashCode. I wasn’t able to conclude with a definite answer to the question which way…
Introduction My first two blog posts on this website have been a two-part article about the evolution of Java’s compareTo and Comparator#compare methods. Implementing order for comparable objects is important,…
Introduction I bet that most Java programmers fall into the trap of trying to create generic arrays at least once in their Java software development career, wondering why the compiler…
Introduction This blog post covers an interesting aspect of Java. Today’s reference implementation of the Java Development Kit (JDK), OpenJDK, has been free and open source since 2007. Even though…
Introduction Java provides two primitive types for floating-point arithmetic: float and double. The latter is usually preferred to the former since doubles are much more precise than floats (15–17 digits…
Introduction In Part 1 of this topic you’ve seen different methods for implementing order for Java objects, showing you the transition from old Java versions to current versions. You’ve become acquainted…
Introduction In Java it is often important to implement natural order for classes. While it isn’t necessary to define natural order for all of one’s own classes, it definitely makes…