There are no reviews yet. Be the first to send feedback to the community and the maintainers!
binary-treeSource Code for HappyCoders.eu article series on tree data structures (binary tree, binary search tree, AVL tree, red-black tree).
pathfindingSource code for the HappyCoders.eu articles on pathfinding and shortest path algorithms (Dijkstra, A*, Bellman-Ford, Floyd-Warshall).
hexagonal-architecture-javaThis repository contains a sample Java REST application implemented according to hexagonal architecture.
sorting-algorithms-ultimate-guideSorting algorithm source codes + ultimate test to compare the performance of all algorithms. For my HappyCoders.eu article.
o-notation-and-time-complexityCode examples demonstrating the complexity classes O(1), O(log n), O(n), O(n log n), O(n²).
filechannel-bytebuffer-memory-mapped-io-locksDemos 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.
advent-of-code-2022Advent of Code 2022 – Object-Oriented Solutions in Java: https://www.happycoders.eu/algorithms/advent-of-code-2022/
internet-address-resolution-spi-jep-418-demoA 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/
virtual-threadsDemo code showing how to use Java's virtual threads.
java-collections-guideJava Queue, Deque, Stack and other collections - Ultimate Guide on HappyCoders.eu.
advent-of-code-2015Advent of Code 2015 – Object-Oriented Solutions in Java: https://www.happycoders.eu/algorithms/advent-of-code-2015/
bytebuffer-demoThis demo shows how a ByteBuffer and its flip() and compact() methods work.
binary-searchBinary search implementation in Java (recursive and iterative). Comparison with linear search. Runtime test of binary and linear search.
application-cds-demoA minimal application for demostrating application class-data sharing (AppCDS).
string-substring-demoA demonstration of the String.substring() method and its evolution from Java 1.2 to today.
sorting-in-javaDemo code for HappyCoders.eu tutorial about sorting primitives and objects with Java.
int-to-string-benchmarksJMH benchmark tests to find out what is the fastest way to convert an int into a String in Java.
biased-lockingA JMH benchmark demostrating the effects of disabled biased locking in Java 15.
files-structured-dataSource code for my HappyCoders.eu article about writing structured data with DataOutputStream, DataInputStream, ObjectOutputStream and ObjectInputStream.
sparse-checkout-demoSource code for the HappyCoders.eu article about Git Monorepos.
deep-reflectionHow can Java Reflection be used to change the values of Integers and Strings at runtime?
ultimate-guide-queue-deque-stackJava Queue, Deque, Stack - Ultimate Guide on HappyCoders.eu
string-to-int-benchmarksJMH benchmark tests to measure the speed of various methods to convert Strings to int / Integer in Java.
project-aSource code for the HappyCoders.eu article about Git Monorepos.
java-kataMaven project for Java Katas containing only a class, a test class, and dependencies to JUnit, AssertJ, and Mockito
comparator-comparable-comparetoSource code for my HappyCoders.eu article about comparing objects in Java using Comparable, Comparator, compareTo().
java-random-demoJava random number generation demos. Article on HappyCoders.eu.
project-bSource code for the HappyCoders.eu article about Git Monorepos.
java-structured-concurrency-demoDemo code for the HappyCoders.eu article "Structured Concurrency with Java".
pattern-matching-for-switchPattern Matching for Switch Examples
happycoders-tutorial-server-setupSource code for HappyCoders.eu Ansible tutorial.