@Override
    public String toString() {
        return "SortedStreamSetObjectsList{" +
            "list=" + list.stream().map(S3StreamSetObject::toString).collect(Collectors.joining(",")) +
            '}';
    }
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