Class AbstractLinkedList<E>

java.lang.Object
org.apache.commons.collections4.list.AbstractLinkedList<E>
Type Parameters:
E - the type of elements in this list
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>
Direct Known Subclasses:
CursorableLinkedList, NodeCachingLinkedList

@Deprecated public abstract class AbstractLinkedList<E> extends Object implements List<E>
Deprecated.
An abstract implementation of a linked list which provides numerous points for subclasses to override.

Overridable methods are provided to change the storage node and to change how nodes are added to and removed. Hopefully, all you need for unusual subclasses is here.

Since:
3.0
  • Constructor Details

    • AbstractLinkedList

      protected AbstractLinkedList()
      Deprecated.
      Constructor that does nothing (intended for deserialization).

      If this constructor is used by a serializable subclass then the init() method must be called.

    • AbstractLinkedList

      protected AbstractLinkedList(Collection<? extends E> coll)
      Deprecated.
      Constructs a list copying data from the specified collection.
      Parameters:
      coll - the collection to copy
  • Method Details