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