Class AbstractListDecorator<E>

java.lang.Object
org.apache.openjpa.lib.util.collections.AbstractCollectionDecorator<E>
org.apache.openjpa.lib.util.collections.AbstractListDecorator<E>
Type Parameters:
E - the type of the elements in the list
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, List<E>
Direct Known Subclasses:
AbstractSerializableListDecorator

public abstract class AbstractListDecorator<E> extends AbstractCollectionDecorator<E> implements List<E>
Decorates another List to provide additional behaviour.

Methods are forwarded directly to the decorated list.

Since:
3.0
See Also:
  • Constructor Details

    • AbstractListDecorator

      protected AbstractListDecorator()
      Constructor only used in deserialization, do not use otherwise.
      Since:
      3.1
    • AbstractListDecorator

      protected AbstractListDecorator(List<E> list)
      Constructor that wraps (not copies).
      Parameters:
      list - the list to decorate, must not be null
      Throws:
      NullPointerException - if list is null
  • Method Details