Class Immutable<T>

  • Type Parameters:
    T - Element type
    All Implemented Interfaces:
    Iterable<T>, Collection<T>, List<T>

    public final class Immutable<T>
    extends Object
    implements List<T>
    Decorator that doesn't allow mutations of the wrapped List.

    There is no thread-safety guarantee.

    Since:
    1.16