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


Java ConcurrentLinkedDeque: Thread-Safe Deque Without Locks
June 7, 2022ConcurrentLinkedDeque explained: lock-free via CAS, unbounded, why size() is O(n), how it differs from ConcurrentLinkedQueue – with example.
Java LinkedList – List and Deque: Methods, Example, ArrayDeque
June 7, 2022LinkedList explained: doubly linked, implements List and Deque, allows null – with example, methods per interface, and vs. ArrayDeque.
Java ArrayDeque: How It Works, Example, vs. LinkedList and Stack
June 7, 2022ArrayDeque explained: circular array, amortized O(1), no nulls, not thread-safe – with example and comparison to LinkedList and Stack.
BlockingDeque Interface in Java (+ Code Example)
June 7, 2022How to use the BlockingDeque interface in Java? Overview of all blocking methods and comparison with the BlockingQueue interface.
Java Deque: Methods, Implementations, and Examples
June 7, 2022The Java Deque interface: all methods with an example, the four JDK implementations compared – and which one to use when.
Deque Data Structure: What Is a Deque (Double-Ended Queue)?
June 7, 2022What is a deque? How the double-ended queue works as a queue and as a stack, its operations at both ends, and where deques are used.
Array vs. Linked List: Differences and Time Complexity
May 23, 2022What is the difference between Array and Linked List? What are the advantages and disadvantages? When should you use which data structure?
Priority Queue Implementation in Java Using a Min-Heap
May 16, 2022Implementing a priority queue with a min-heap in Java: array representation, sift up and sift down step by step – with diagrams and code.
Implement a Queue Using an Array in Java (Circular Array)
May 16, 2022How to implement a queue with an array in Java – bounded, as a circular array, and growing on demand. Step by step with diagrams and code.
How to Implement a Queue Using a Linked List in Java
May 16, 2022Queue using a linked list in Java: head and tail references, enqueue and dequeue in O(1) – step by step with diagrams and source code.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