ImmutableCollection

A generic immutable collection of elements. Methods in this interface support only read-only access to the collection.

Modification operations are supported through the PersistentCollection interface.

Implementors of this interface take responsibility to be immutable. Once constructed they must contain the same elements in the same order.

Type Parameters

E

the type of elements contained in the collection. The immutable collection is covariant on its element type.

Inheritors