static IntegerChromosome read(final DataInput in) throws IOException {
		final var length = readInt(in);
		final var lengthRange = IntRange.of(readInt(in), readInt(in));
		final var min = readInt(in);
		final var max = readInt(in);

		final MSeq<IntegerGene> values = MSeq.ofLength(length);
		for (int i = 0; i < length; ++i) {
			values.set(i, IntegerGene.of(readInt(in), min, max));
		}

		return new IntegerChromosome(values.toISeq(), lengthRange);
	}
Create a new random {@code IntegerChromosome} of length one.

@since 3.2

@param range the integer range of the chromosome.
@return a new random {@code IntegerChromosome} of length one
@throws NullPointerException if the given {@code range} is {@code null}
@throws IllegalArgumentException if {@code max} is greater than
        or equal to {@code min}
jenetics/src/main/java/io/jenetics/IntegerChromosome.java