UndoHeader<E> constructor
Create an header for the entry
that occupies index
.
visibleForTesting
because it may only be created by the UndoTree it
occupies normally.
Implementation
@visibleForTesting
UndoHeader(this.entry, this.index);