Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Collections.unmodifiableList doesn’t prevent anyone who has a reference to the original List (or the array behind it) from modifying the List. Calling that in the constructor would not help.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: