The enhanced switch is cool. Pattern Matching for switch is super cool (they even timed the JEP number to be exactly ... Full Article
Locking on Integer objects has always been a bad idea. And we now have a way to find such bad code with a runtime swi... Full Article
Sealed classes show us which subclasses they permitted. Unfortunately there is no way to do this recursively. In this... Full Article
Java has support for parallelism baked into the JDK. We have parallel streams, parallel sort and CompletableFutures, ... Full Article
LinkedHashSet is a set that can also maintain order. To make this thread-safe, we can wrap it with Collections.synchr... Full Article
Streams can make our code more readable, and therefore more maintainable. However, there is some overhead in setting ... Full Article