Java 9 Factory Method for Collections: List, Set, Map

Java 9 provides new static factory methods for creating instances of collections and maps conveniently with small number of elements. In this tutorial, we’re gonna look at how to create List, Set, Map with Java 9 Factory Method for Collections.

[Continue reading…] “Java 9 Factory Method for Collections: List, Set, Map”