Class UnmodifiableBoundedCollection

  • All Implemented Interfaces:
    Serializable, Iterable, Collection, BoundedCollection

    public final class UnmodifiableBoundedCollection
    extends AbstractSerializableCollectionDecorator
    implements BoundedCollection
    UnmodifiableBoundedCollection decorates another BoundedCollection to ensure it can't be altered.

    If a BoundedCollection is first wrapped in some other collection decorator, such as synchronized or predicated, the BoundedCollection methods are no longer accessible. The factory on this class will attempt to retrieve the bounded nature by examining the package scope variables.

    This class is Serializable from Commons Collections 3.1.

    Since:
    Commons Collections 3.0
    Version:
    $Revision: 646777 $ $Date: 2008-04-10 14:33:15 +0200 (Thu, 10 Apr 2008) $
    Author:
    Stephen Colebourne
    See Also:
    Serialized Form