Stream.toList()와 collect(toList())는 같지 않다Java 16+ Stream.toList()는 immutable, Collectors.toList()는 mutable — 무심코 갈아끼우면 UnsupportedOperationException2026-05-02