UnsupportedOperationException on Collection
Posted
by Duke Vador
on Stack Overflow
See other posts from Stack Overflow
or by Duke Vador
Published on 2010-05-22T09:38:39Z
Indexed on
2010/05/22
9:40 UTC
Read the original article
Hit count: 241
While studying the Collection
API, we find that some methods (add
, remove
,...) may throw a java.lang.UnsupportedOperationException
if the current implementation of the Collection does not support those functionalities.
Is there,actually, in the JDK, a concrete Collection
that does not support those methods ?
Thanks a lot for your answers.
© Stack Overflow or respective owner