Consider the alternative Java provides, the `unmod...
# announcements
f
Consider the alternative Java provides, the
unmodifiableList
wrapper, where it claims to support a wide set of operations, but only permits use of a limited subset, and deceptively (to the user of the list) throws `NotImplementedException`s for a number of others. In essence, that interface is lying to you about what it can and cannot do.
1