head method
The head of the current UndoHeader linked list.
Implementation
UndoHeader<E> head() {
late UndoHeader<E> head;
for (UndoHeader<E>? next = this; next != null; next = next.next) {
head = next;
}
return head;
}
The head of the current UndoHeader linked list.
UndoHeader<E> head() {
late UndoHeader<E> head;
for (UndoHeader<E>? next = this; next != null; next = next.next) {
head = next;
}
return head;
}