@Override
        public boolean equals(Object o) {
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;

            Entry<?> that = (Entry<?>) o;

            if (offset != that.offset) return false;
            return Objects.equals(value, that.value);
        }
Removes all of the values from this object.
raft/src/main/java/org/apache/kafka/raft/internals/LogHistory.java