Java 8 streams

Notes on practical usage of Java 8 stream filtering. Stream Filtering A Stream<T> references a sequence of T values, and exposes a set of aggregate operations we can use to manipulate data in a pipeline. As an example, we can find the name of Read more…

Passwords and Hashing

This page presents a few examples of using Java for passwords and hashing. Generate Password A Java example to generate a random password containing only alphanumeric characters. Java Code to ComputeSHA-512 digest other.. linux get sha-512/

About me

Hey, I’m Patrik! I’m a Senior Java Software Engineer with experience working for big IT companies around Europe (IT, NL, CH, DE). I’m really into Java backend development, and I also work with Python, TypeScript, SQL, HTML, and Bash for Read more…

Java Generics

Generics Generics were introduced in java 5 to add stability to the code. You can add type variables to classes, interfaces and methods. Generic Class Declaration Below you see an example of generic class declaration. by writing class Box<T>, you introduce Read more…