altHead method

UndoHeader<E> altHead()

The head of the current alt UndoHeader linked list.

Implementation

UndoHeader<E> altHead() {
  late UndoHeader<E> head;
  for (UndoHeader<E>? next = this; next != null; next = next.nextAlt) {
    head = next;
  }
  return head;
}