@Override
        public boolean hasNext() {
            return cur != head;
        }
Iterate through the list of snapshots in order of creation, such that older
snapshots come first.
server-common/src/main/java/org/apache/kafka/timeline/SnapshotRegistry.java