Immutable Collections with Factory Methods in Java 9
Learn to create immutable collections such as immutable list, immutable set and immutable map using new factory methods in Java 9.
Learn to create immutable collections such as immutable list, immutable set and immutable map using new factory methods in Java 9.
The immutable strings help in achieving the required data safety and performance in a Java application with help of underlying string pool.
Learn about immutable objects, records and collections in Java and create a Java class immutable step by step with examples.
HowToDoInJava provides tutorials and how-to guides on Java and related technologies.
It also shares the best practices, algorithms & solutions and frequently asked interview questions.