

Sorting Algorithms
[Ultimate Guide]
Sven WoltmannJune 11, 2020If you need a refresher on how the most common sorting algorithms work and how they differ, this series is for you.


Big O Notation and Time Complexity – Easily Explained
Sven WoltmannMay 28, 2020Big O notation and time complexity – easily explained with examples and diagrams, entirely without mathematics: O(1), O(log n), O(n), O(n log n), O(n²).


Stack, Queue, Deque in Java
Sven WoltmannApril 8, 2020How do the stack, queue and deque data structures work? Which implementations are available in the JDK? Which one should you use when?


Java Deep Reflection: How to Hack Integer and String
Sven WoltmannMarch 11, 2020Can 2+3 = 6?In this article, I show you how Deep Reflection can be used to change the values of Integers and Strings at runtime.


Java ByteBuffer Example: How to Use flip()
and compact()
Sven WoltmannFebruary 26, 2020In this article, I show you (using an example) how the Java ByteBuffer works, and what precisely the Methoden flip() and compact() do.


FileChannel, Memory-Mapped I/O, Locks
(Java Files Tutorial)
Sven WoltmannFebruary 26, 2020In this article, you will learn everything about the NIO classes FileChannel and ByteBuffer introduced in Java 1.4.You'll learn about their capabilities for reading and writing files and their advantages over the previously discussed methods.


DataOutputStream + DataInputStream
(Java Files Tutorial)
Sven WoltmannFebruary 12, 2020In this fifth part of the series, you will learn how to write and read structured data with DataOutputStream, DataInputStream, ObjectOutputStream, and ObjectInputStream.


How to List, Move, Copy, and Delete Files
(Java Files Tutorial)
Sven WoltmannJanuary 29, 2020This fourth part of the series describes the most important directory and file operations.You will learn how to list files in a directory, how to search for files, how to move, rename, and copy files, and much more.


File and Directory Names in Java: File, Path, Paths
Sven WoltmannJanuary 15, 2020This third part of the series of articles shows how to use the classes File, Path, and Paths to construct file and directory paths – regardless of the operating system.


How to Write Files Quickly and Easily
(Java Files Tutorial)
Sven WoltmannDecember 4, 2019This second part introduces methods for writing small and large text and binary files in Java.After reading this article, you will know exactly when to use FileWriter, FileOutputStream, OutputStreamReader, BufferedOutputStream, and BufferedWriter.