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
The LinkedBlockingQueue and LinkedBlockingDeque behave slightly differently when methods put() and take() are called ... Full Article
ReentrantReadWriteLock has a limit of 65536 concurrent read locks. That is an unattainable number with platform threa... Full Article