Why do I keep getting an UnsupportedOperationException thrown when I try some collection operations?
Created May 8, 2012
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.