public void combine(final Builder other) {
			if (!partition.equals(other.partition)) {
				throw new IllegalArgumentException(
					"Can't combine multiple buckets with different partitions: %s != %s."
						.formatted(partition, other.partition)
				);
			}

			for (int i = other.frequencies.length; --i >= 0;) {
				frequencies[i] += other.frequencies[i];
			}
		}
Combine the given {@code other} histogram with {@code this} one.

@param other the histogram to add.
@throws IllegalArgumentException if the {@code #bucketCount()} and the
        separators of {@code this} and the given {@code histogram} are
        different.
@throws NullPointerException if the given {@code histogram} is
        {@code null}.
jenetics.incubator/src/main/java/io/jenetics/incubator/stat/Histogram.java