-
Core Java
Java 19: Virtual Threads
Java 19 introduces Virtual Threads, which are lightweight threads designed to improve application throughput. This is a preview language feature…
Read More » -
Core Java
Java 17: Pattern Matching for Switch
In Java 17 (released only a few days ago), Pattern Matching for switch has been introduced as a preview language…
Read More » -
Core Java
Java 16: Stream.mapMulti
Java 16 introduces a new Stream.mapMulti method which allows you to replace elements in a stream with multiple elements. The…
Read More » -
Core Java
Java 16: Stream.toList()
Java 16 introduces a handy new Stream.toList() method which makes it easier to convert a stream into a list. The…
Read More » -
Software Development
kdb+/q – Display a Table as a Tree
This post shows how you can convert a keyed table to a hierarchical tree format in kdb+/q. This could be…
Read More » -
Core Java
Creating Temporary Files with JUnit 5
This post shows you how to perform unit testing using temporary files with JUnit 5. If you’re still on JUnit…
Read More » -
Enterprise Java
Parameterized Tests in JUnit 5
A parameterized test allows you to run a test against a varying set of data. If you find yourself calling…
Read More » -
Enterprise Java
Testing Expected Exceptions with JUnit 5
This post shows how to test for expected exceptions using JUnit 5. If you’re still on JUnit 4, please check…
Read More » -
Core Java
Java 15: Sealed Classes
Java 15 introduces Sealed Classes, a preview language feature, that allows classes/interfaces to restrict which other classes/interfaces may extend or…
Read More »