Class FixedSizeList

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

    public class FixedSizeList
    extends AbstractSerializableListDecorator
    implements BoundedCollection
    Decorates another List to fix the size preventing add/remove.

    The add, remove, clear and retain operations are unsupported. The set method is allowed (as it doesn't change the list size).

    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, Paul Jack
    See Also:
    Serialized Form