collectors.tounmodifiablelist

Collectors.toUnmodifiableList: The `toUnmodifiableList` method in the Collectors utility class collects elements into an unmodifiable List. This is useful when creating an immutable list that cannot be altered after its creation.

https://en.wikipedia.org/wiki/Java_version_history#JDK_8

collectors.tounmodifiablelist.txt · Last modified: 2025/02/01 07:08 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki