Java 9 : Convenience Factory Methods to create immutable Collections

1

In this article we will see another JDK 9 feature to create immutable collections. Till Java 8, If we want to create immutable collections we use to call unmodifiableXXX() methods on java.util.Collections class. For example, To create unmodifiable list, w

Read this post on smarttechies.wordpress.com


Siva Prasad Rao Janapati

blogs from BANGALORE