
Become a Better Java Developer!
Modern Java: new versions & features, performance, and JVM insights – tutorials and deep dives, clearly explained and directly applicable.


Implementing a Queue Using a Stack
May 16, 2022How to implement a queue with a stack (more precisely: with two stacks)? Tutorial with illustrations and Java code examples.
Queue Implementations in Java – Which One to Use?
April 26, 2022Which Queue implementations are available in the JDK? How do they differ? In which cases should you use which implementation?
LinkedTransferQueue in Java (+ Code Examples)
April 26, 2022How to use Java’s LinkedTransferQueue? How does it work? What are its characteristics? When should you use it?
SynchronousQueue in Java (+ Code Examples)
April 26, 2022How to use Java’s SynchronousQueue? How does it work? What are its characteristics? When should you use it?
Java DelayQueue (+ Code Examples)
April 26, 2022How to use Java’s DelayQueue? How does it work? What are its characteristics? When should you use it?
Java PriorityBlockingQueue (+ Code Examples)
April 26, 2022How to use Java’s PriorityBlockingQueue? How does it work? What are its features? When should you use it?
Java ArrayBlockingQueue – What is it for? + How to use it?
April 26, 2022How to use Java’s ArrayBlockingQueue? How does it work? What are its characteristics? When should you use it?
Java LinkedBlockingQueue (+ Code Examples)
April 26, 2022How to use Java’s LinkedBlockingQueue? How does it work? What are its characteristics? When should you use it?
Priority Queue in Java: PriorityQueue Explained (+ Examples)
April 26, 2022What is a priority queue, and how does Java’s PriorityQueue work? Characteristics, time complexity, and examples – with and without a custom comparator.
Java ConcurrentLinkedQueue (+ Code Examples)
April 26, 2022How to use Java’s ConcurrentLinkedQueue? How does it work? What are its characteristics? When should you use it?Want Even More Knowledge?
My blog features many articles on Java, software architecture, and performance — from foundational concepts to advanced patterns.
If you want to go deeper, check out my trainings: hands-on, easy to understand, and directly applicable to your day-to-day project work. Instead of theory, I teach principles that help you write code that is better, more maintainable, and more performant in the long run.
Explore the Java Trainings