UndoHeader<E> constructor

  1. @visibleForTesting
UndoHeader<E>(
  1. E entry,
  2. int index
)

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);