@Override
  public boolean equals(final Object o) {
    if (this == o) return true;
    if (!(o instanceof UndoScalar<?> that)) return false;
    return Objects.equals(value, that.value);
  }
Set a new value in the scalar.

@param value new value
evm/src/main/java/org/hyperledger/besu/collections/undo/UndoScalar.java