The release of Java SE 15 in Sept 2020 will introduce "sealed classes" (JEP 360) as a preview feature. A sealed class is a class or interface which restricts which other classes or interfaces may ...
Creating simple data classes in Java traditionally required substantial boilerplate code. Consider how we would represent Java’s mascots, Duke and Juggy: public class JavaMascot { private final String ...
Writing a Java application (see Android) that consumes a JSON API usually involves mapping the JSON objects to Java classes for use in the software. This is a tedious and repetitive task to say the ...
Have you ever wondered how Java seamlessly combines its primitive data types with object-oriented programming? Enter wrapper classes, an important but often overlooked Java feature. These special ...
Imagine you are an expert object-oriented Java developer who meticulously crafts code the way an artist cares for their masterpiece. You believe clean code is an absolute necessity. Classes with clear ...
Value stream management involves people in the organization to examine workflows and other processes to ensure they are deriving the maximum value from their efforts while eliminating waste — of ...
The Java Platform provides the most commonly used data structures in the form of the Collections Framework, and it provides a rich API to operate on them. In this first article in a two-part series, I ...