@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        SortedStreamSetObjectsList that = (SortedStreamSetObjectsList) o;
        return Objects.equals(list, that.list);
    }
Construct a SortedStreamSetObjectsList from a list of S3StreamSetObjects.
@param list the list of S3StreamSetObjects, must guarantee that the list is sorted
metadata/src/main/java/org/apache/kafka/metadata/stream/SortedStreamSetObjectsList.java