@Override
    public boolean equals(Object o) {
        if (this == o)
            return true;
        if (o == null || getClass() != o.getClass())
            return false;
        DeltaList<?> list = (DeltaList<?>) o;
        return Objects.equals(toList(), list.toList());
    }
Reverse iterate the list

@param func accept a list element, return break loop mark.
metadata/src/main/java/org/apache/kafka/image/DeltaList.java