|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Experimental @Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Unsupported
Annotates a method as unsupported. Useful for example
Iterator
instances which doesn't support the
Iterator.remove()
method.
Such an annotated method should throw a
UnsupportedOperationException
.
Note: experimental
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |