Package org.jetbrains.annotations
Annotation Type UnmodifiableView
-
@Documented @Retention(CLASS) @Target(TYPE_USE) public @interface UnmodifiableViewAn annotation which marks aCollectionorMaptype as unmodifiable view. A collection or a map is unmodifiable view if any mutator methods (e.g.Collection.add(Object)) throw exception or have no effect. However, the content of the collection or the map may still be updated by other code.- Since:
- 19.0.0
- See Also:
Unmodifiable