void write(final DataOutput out) throws IOException {
		writeInt(length(), out);
		writeInt(lengthRange().min(), out);
		writeInt(lengthRange().max(), out);
		writeLong(_min, out);
		writeLong(_max, out);

		for (int i = 0, n = length(); i < n; ++i) {
			writeLong(longValue(i), out);
		}
	}
Create a new random {@code LongChromosome} of length one.

@since 3.2

@param range the long range of the chromosome.
@return a new random {@code LongChromosome} 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/LongChromosome.java