leitstand-inventory-api/src/main/java/io/leitstand/inventory/service/ImageStatistics.java
public Builder withElementGroupCounters(Collection<ImageStatisticsElementGroupImageCount> imagesPerGroup) {
            assertNotInvalidated(getClass(), stats);
            stats.groups = unmodifiableList(new ArrayList<>(imagesPerGroup));
            return this;
        }
/**
         * Sets the image count per element group.
         * @param imagesPerGroup the image count per element group.
         * @return a reference to this builder to continue object creation.
         */
Sets the image count per element group.
@param imagesPerGroup the image count per element group.
@return a reference to this builder to continue object creation.
Sets the image count per element group . @param imagesPerGroup the image count per element group . @return a reference to this builder to continue object creation .
public Builder withElementGroupCounters(Collection<ImageStatisticsElementGroupImageCount> imagesPerGroup) {
            assertNotInvalidated(getClass(), stats);
            stats.groups = unmodifiableList(new ArrayList<>(imagesPerGroup));
            return this;
        }
public Builder withElementGroupCounters ( Collection < ImageStatisticsElementGroupImageCount > imagesPerGroup ) { assertNotInvalidated ( getClass ( ) , stats ) ; stats . groups = unmodifiableList ( new ArrayList < > ( imagesPerGroup ) ) ; return this ; }
Sets the image count per element group.
Sets the image count per element group .