Sven Woltmann's Projects
Advent of Code 2015 – Object-Oriented Solutions in Java: https://www.happycoders.eu/algorithms/advent-of-code-2015/
Advent of Code 2022 – Object-Oriented Solutions in Java: https://www.happycoders.eu/algorithms/advent-of-code-2022/
A minimal application for demostrating application class-data sharing (AppCDS).
:tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash
A JMH benchmark demostrating the effects of disabled biased locking in Java 15.
Binary search implementation in Java (recursive and iterative). Comparison with linear search. Runtime test of binary and linear search.
Source Code for HappyCoders.eu article series on tree data structures (binary tree, binary search tree, AVL tree, red-black tree).
This demo shows how a ByteBuffer and its flip() and compact() methods work.
Grabs the dominant color or a representative color palette from an image. A very fast Java port of Lokesh Dhakar's JavaScript version.
Source code for my HappyCoders.eu article about comparing objects in Java using Comparable, Comparator, compareTo().
How can Java Reflection be used to change the values of Integers and Strings at runtime?
Demonstration of Java's Foreign Function & Memory API
Demos for writing and reading files with FileChannel and ByteArray. Tests for write speed with RandomAccessFile, FileChannel, heap buffer, native buffer, memory-mapped buffer, and FileOutputStream.
Source code for my HappyCoders.eu article about writing structured data with DataOutputStream, DataInputStream, ObjectOutputStream and ObjectInputStream.
Source code for HappyCoders.eu Ansible tutorial.
This repository contains a sample Java REST application implemented according to hexagonal architecture.
JMH benchmark tests to find out what is the fastest way to convert an int into a String in Java.
A rudimentary demonstration on how to use the Internet-Address Resolution SPI defined in JEP 418 introduced in Java 18. Article: https://www.happycoders.eu/java/java-18-features/
Java Queue, Deque, Stack and other collections - Ultimate Guide on HappyCoders.eu.
Maven project for Java Katas containing only a class, a test class, and dependencies to JUnit, AssertJ, and Mockito
Java random number generation demos. Article on HappyCoders.eu.
SparkPost client library for Java; forked to fix a bug where data string sent to the API was converted to a byte array twice.
Demo code for the HappyCoders.eu article "Structured Concurrency with Java".
Code for HappyCoders.eu Jenkins tutorial explaining the installation and major features of Jenkins.
Code examples demonstrating the complexity classes O(1), O(log n), O(n), O(n log n), O(n²).
Source code for the HappyCoders.eu articles on pathfinding and shortest path algorithms (Dijkstra, A*, Bellman-Ford, Floyd-Warshall).
Pattern Matching for Switch Examples
Source code for the HappyCoders.eu article about Git Monorepos.
Source code for the HappyCoders.eu article about Git Monorepos.
Demo code showing how to use Java's scoped values