public static List<Uuid> toList(Uuid[] array) {
        if (array == null) return null;
        List<Uuid> list = new ArrayList<>(array.length);
        list.addAll(Arrays.asList(array));
        return list;
    }
Convert an array of Uuids to a list of Uuid.

@param array         The input array
@return              The output list
clients/src/main/java/org/apache/kafka/common/Uuid.java