public Collection<LogSegment> values() {
        return segments.values();
    }
@return an iterator to the log segments ordered from oldest to newest.
storage/src/main/java/org/apache/kafka/storage/internals/log/LogSegments.java