Class IntrusiveLinkedList<T extends LinkedListEntry<T,T>>

Type Parameters:
T - element class, must implement LinkedListEntry.
All Implemented Interfaces:
Iterable<T>, Collection<T>, SmartCollection<T>, SmartSequence<T>

public class IntrusiveLinkedList<T extends LinkedListEntry<T,T>> extends AbstractLinkedList<T,T>
An intrusive version of a linked list. When using this linked list implementation, the elements themselves have to store the reference to their successors and predecessors, i.e., must implement the LinkedListEntry interface.

Note that this furthermore implies that each such element can only be stored in at most one IntrusiveLinkedList.

  • Constructor Details

    • IntrusiveLinkedList

      public IntrusiveLinkedList()
  • Method Details