Merge Two Sets in Java

In this post, we will see how to merge two sets in Java using Plain Java, Java 8, Guava and Apache Commons Collections.

Transform HashMap in Java 8

In this post, we will see how to transform HashMap key-value pairs from one Type to another Type in Java 8.

Immutable Set in Java

In this post, we will discuss various methods to create immutable set in Java. Immutable Sets have many advantages over their mutable siblings, like they are thread-safe, more memory-efficient and can be passed to untrusted libraries without any side effects.