public static LongChromosome of(final LongGene... genes) {
		checkGeneRange(Stream.of(genes).map(LongGene::range));
		return new LongChromosome(ISeq.of(genes), IntRange.of(genes.length));
	}
Create a new {@code LongChromosome} with the given genes.

@param genes the genes of the chromosome.
@return a new chromosome with the given genes.
@throws NullPointerException if the given {@code genes} are {@code null}
@throws IllegalArgumentException if the length of the genes array is
        empty or the given {@code genes} doesn't have the same range.
jenetics/src/main/java/io/jenetics/LongChromosome.java