Class UnmodifiableBoundedCollection

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

    @Deprecated(since="2021-04-30")
    public final class UnmodifiableBoundedCollection
    extends AbstractSerializableCollectionDecorator
    implements BoundedCollection
    Deprecated.
    Commons Collections 3 is in maintenance mode. Commons Collections 4 should be used instead.
    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
    See Also:
    Serialized Form