Course contentsShow
Java
Lesson 1556 of 2,87034. Collectors in DepthPro lesson

Collectors.toUnmodifiableList(): Immutable Collections

Collect to unmodifiable lists using toUnmodifiableList() for safe, immutable results (Java 10+).

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.