@Override
  public NavigableMap<K, V> headMap(final K toKey, final boolean inclusive) {
    return ((NavigableMap<K, V>) delegate).headMap(toKey, inclusive);
  }
Create an undo navigable map backed by a specific map.

@param map The map storing the current state
@return an undoable map
@param <K> the key type
@param <V> the value type
evm/src/main/java/org/hyperledger/besu/collections/undo/UndoNavigableMap.java