dev.marksman.collectionviews.Immutable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of collection-views Show documentation
Show all versions of collection-views Show documentation
Low overhead, protected views over Java collections
package dev.marksman.collectionviews;
/**
* A marker interface for immutability.
* If a class subtypes this interface, it is indicating that the resource that any instance of that class protects
* is 100% safe from mutation anywhere in the system.
*/
@SuppressWarnings("WeakerAccess")
public interface Immutable {
}