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


Bubble Sort – Algorithm, Source Code, Time Complexity
July 8, 2020How does Bubble Sort work? With illustrations and Java code. Best, average, and worst case time complexity – without complicated math.
Selection Sort in Java – Algorithm, Code, Time Complexity
June 25, 2020How does Selection Sort work? With illustrations and Java code. How do you determine its time complexity – and why is it not stable?
Insertion Sort Time Complexity (Best, Average, Worst), Java Code
June 11, 2020How does Insertion Sort work, and why is it O(n²) in the average and worst case but O(n) in the best case? With Java code and measurements.
Sorting in Java: How to Sort an Array (Descending, Parallel)
June 11, 2020Sort an array in Java: Arrays.sort() for primitives and objects, in descending order and in parallel – and which algorithms the JDK uses.
Sorting Algorithms: Time Complexity and Stability Compared
June 11, 2020The most important sorting algorithms compared: time complexity, space, and stability from Insertion Sort to Radix Sort – with a table.
Big O Notation: Time Complexity Classes in Order, Explained
May 28, 2020Big O notation and time complexity classes in order – with examples and diagrams, without math: O(1), O(log n), O(n), O(n log n), O(n²).
Java Deep Reflection: How to Hack Integer and String
March 11, 2020Can 2 + 3 = 6 in Java? How deep reflection changes cached Integers and Strings – and what Java 16 and 26 require to still allow it.
Java ByteBuffer Explained: position, limit, flip(), compact()
February 26, 2020Java’s ByteBuffer step by step: position, limit, and capacity, put() and get(), flip() and compact() – with a diagram for every step.
Java FileChannel: Read, Write, Memory-Mapped Files, Locks
February 26, 2020Read and write files with FileChannel and ByteBuffer, memory-map them (also beyond 2 GB), and lock file regions – with a speed comparison.
Java DataOutputStream and DataInputStream (with Examples)
February 12, 2020How to write primitive data types and strings to binary files and read them back – with DataOutputStream and DataInputStream.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