Class UnmodifiableCollection<E>

java.lang.Object
org.apache.openjpa.lib.util.collections.AbstractCollectionDecorator<E>
org.apache.openjpa.lib.util.collections.UnmodifiableCollection<E>
Type Parameters:
E - the type of the elements in the collection
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, Unmodifiable

public final class UnmodifiableCollection<E> extends AbstractCollectionDecorator<E> implements Unmodifiable
Decorates another Collection to ensure it can't be altered.

This class is Serializable from Commons Collections 3.1.

Attempts to modify it will result in an UnsupportedOperationException.

Since:
3.0
See Also: