Java Cup
Inside Java

News and views from members of the Java team at Oracle

Factory Methods for Collections - JEP Café #6

Explore immutable collection factory methods, Arrays.asList(), List.copyOf(), and Stream.toList(), and learn when to use each.


More at https://inside.java/jepcafe/6/.