• Stars
    star
    1
  • Language
    Java
  • Created almost 3 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Java random number generation demos. Article on HappyCoders.eu.

More Repositories

1

color-thief-java

Grabs the dominant color or a representative color palette from an image. A very fast Java port of Lokesh Dhakar's JavaScript version.
Java
231
star
2

hexagonal-architecture-java

This repository contains a sample Java REST application implemented according to hexagonal architecture.
Java
100
star
3

binary-tree

Source Code for HappyCoders.eu article series on tree data structures (binary tree, binary search tree, AVL tree, red-black tree).
Java
35
star
4

pathfinding

Source code for the HappyCoders.eu articles on pathfinding and shortest path algorithms (Dijkstra, A*, Bellman-Ford, Floyd-Warshall).
Java
35
star
5

sorting-algorithms-ultimate-guide

Sorting algorithm source codes + ultimate test to compare the performance of all algorithms. For my HappyCoders.eu article.
Java
16
star
6

o-notation-and-time-complexity

Code examples demonstrating the complexity classes O(1), O(log n), O(n), O(n log n), O(nยฒ).
Java
14
star
7

structured-concurrency

Demo code showing how to use Java's StructuredTaskScope
Java
10
star
8

advent-of-code-2022

Advent of Code 2022 โ€“ Object-Oriented Solutions in Java: https://www.happycoders.eu/algorithms/advent-of-code-2022/
Java
9
star
9

filechannel-bytebuffer-memory-mapped-io-locks

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.
Java
8
star
10

virtual-threads

Demo code showing how to use Java's virtual threads.
Java
4
star
11

internet-address-resolution-spi-jep-418-demo

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
3
star
12

java-collections-guide

Java Queue, Deque, Stack and other collections - Ultimate Guide on HappyCoders.eu.
Java
3
star
13

binary-search

Binary search implementation in Java (recursive and iterative). Comparison with linear search. Runtime test of binary and linear search.
Java
3
star
14

virtual-threads-spring

Spring demo application to compare controllers using CompletableFuture vs. virtual threads.
Java
3
star
15

bytebuffer-demo

This demo shows how a ByteBuffer and its flip() and compact() methods work.
Java
2
star
16

advent-of-code-2015

Advent of Code 2015 โ€“ Object-Oriented Solutions in Java: https://www.happycoders.eu/algorithms/advent-of-code-2015/
Java
2
star
17

application-cds-demo

A minimal application for demostrating application class-data sharing (AppCDS).
Java
2
star
18

ffm-api-demo

Demonstration of Java's Foreign Function & Memory API
Java
2
star
19

project-a

Source code for the HappyCoders.eu article about Git Monorepos.
Java
1
star
20

files-structured-data

Source code for my HappyCoders.eu article about writing structured data with DataOutputStream, DataInputStream, ObjectOutputStream and ObjectInputStream.
Java
1
star
21

scoped-values

Demo code showing how to use Java's scoped values
Java
1
star
22

int-to-string-benchmarks

JMH benchmark tests to find out what is the fastest way to convert an int into a String in Java.
Java
1
star
23

coding-tasks-cd27a20

1
star
24

pattern-matching-for-switch

Pattern Matching for Switch Examples
Java
1
star
25

ultimate-guide-queue-deque-stack

Java Queue, Deque, Stack - Ultimate Guide on HappyCoders.eu
Java
1
star
26

java-kata

Maven project for Java Katas containing only a class, a test class, and dependencies to JUnit, AssertJ, and Mockito
Java
1
star
27

sorting-in-java

Demo code for HappyCoders.eu tutorial about sorting primitives and objects with Java.
Java
1
star
28

project-b

Source code for the HappyCoders.eu article about Git Monorepos.
Java
1
star
29

biased-locking

A JMH benchmark demostrating the effects of disabled biased locking in Java 15.
Java
1
star
30

jenkins-tutorial-demo

Code for HappyCoders.eu Jenkins tutorial explaining the installation and major features of Jenkins.
Groovy
1
star
31

happycoders-tutorial-server-setup

Source code for HappyCoders.eu Ansible tutorial.
HTML
1
star
32

java-structured-concurrency-demo

Demo code for the HappyCoders.eu article "Structured Concurrency with Java".
Java
1
star
33

string-to-int-benchmarks

JMH benchmark tests to measure the speed of various methods to convert Strings to int / Integer in Java.
Java
1
star
34

string-substring-demo

A demonstration of the String.substring() method and its evolution from Java 1.2 to today.
Java
1
star
35

sparse-checkout-demo

Source code for the HappyCoders.eu article about Git Monorepos.
Java
1
star
36

comparator-comparable-compareto

Source code for my HappyCoders.eu article about comparing objects in Java using Comparable, Comparator, compareTo().
Java
1
star
37

mastering-data-structures-in-java

Quellcode zum Online-Kurs โ€žMastering Data Structures in Javaโ€œ
Java
1
star
38

deep-reflection

How can Java Reflection be used to change the values of Integers and Strings at runtime?
Java
1
star