...
The @Immutable
annotation is applied to immutable classes. Immutable objects are inherently thread-safe; after once they are fully constructed, they may be published via a volatile reference and shared safely among multiple threads.
...
...
The @Immutable
annotation is applied to immutable classes. Immutable objects are inherently thread-safe; after once they are fully constructed, they may be published via a volatile reference and shared safely among multiple threads.
...