posted 13 years ago
The first question coming to mind is why you don't want to use the Collections#unmodifiableList ? You can still look at the JDK sources, and see how it's done there. (basically, implementing List, wrapping a List which will contain the items, and throwing UnsupportedOperationException for methods trying to modify the list).
You are aware that objects inside the list can still be modified, aren't you ?