The LinkedBlockingDeque has an interesting feature in addAll(), where they first build up the linked nodes and then a... Full Article
Instead of shuffling our stream at the end in the collect() method, we can also shuffle it in stages using the new st... Full Article
A few years ago, we tried to create a new distinct() function for a Stream. It wasn't pretty. In this newsletter we r... Full Article
We are all amazed how AI can help us in everyday tasks. It can even write Java code. But "Show me the Pull Requests" ... Full Article
LinkedHashSet implements the SequencedCollection interface, allowing us to addLast(), addFirst() and even reverse the... Full Article
In this newsletter, we explore how we can visit the entire hierarchy of threads in our virtual machine, including vir... Full Article