Why do I keep getting an UnsupportedOperationException thrown when I try some collection operations?

John Zukowski

Several methods of the collection interfaces are considered optional. If an unsupported operation is called, that is when you'll see the UnsupportedOperationException thrown. The javadoc for a collection implementation should document which methods are optional.

About | Sitemap | Contact