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

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

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

@since 3.2

@param range the double range of the chromosome.
@return a new random {@code DoubleChromosome} of length one
@throws NullPointerException if the given {@code range} is {@code null}
jenetics/src/main/java/io/jenetics/DoubleChromosome.java