Class FreezableList<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
com.sun.corba.ee.impl.ior.FreezableList<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>
Direct Known Subclasses:
IdentifiableContainerBase, IORTemplateListImpl

public class FreezableList<E> extends AbstractList<E>
Simple class that delegates all List operations to another list. It also can be frozen, which means that a number of operations can be performed on the list, and then the list can be made immutable, so that no further changes are possible. A FreezableList is frozen using the makeImmutable method.
  • Field Details

    • delegate

      private List<E> delegate
    • immutable

      private boolean immutable
  • Constructor Details

    • FreezableList

      public FreezableList(List<E> delegate, boolean immutable)
    • FreezableList

      public FreezableList(List<E> delegate)
  • Method Details