Top Description Methods
org.jetbrains.annotations

public @Interface Unmodifiable

extends Annotation
Annotations
@Documented
@Retention:CLASS
@Target:TYPE_USE
Imports
java.lang.annotation.*

An annotation which marks a java.util.Collection or java.util.Map type as unmodifiable. A collection or a map is unmodifiable if any mutator methods (e.g. java.util.Collection#add(Object)) throw exception or have no effect, and the object references stored as collection elements, map keys, and map values are never changed. The referenced objects themselves still could be changed if they are mutable.
Since
19.0.0
See Also
UnmodifiableView

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString