Collectors.toUnmodifiableSet: The `toUnmodifiableSet` method in the Collectors utility class collects elements into an unmodifiable Set. It ensures that the set cannot be modified after it is created, providing immutability for the result.

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