Class ElementAwareList<T>

  • Type Parameters:
    T - The element type. Often a tuple.
    All Implemented Interfaces:
    Iterable<T>

    public final class ElementAwareList<T>
    extends Object
    implements Iterable<T>
    Linked list that allows to add and remove an element in O(1) time. Ideal for incremental operations with frequent undo.