public static LongGene of(final long allele, final LongRange range) {
		return LongGene.of(allele, range.min(), range.max());
	}
Create a new random {@code LongGene} with the given value and the
given range. If the {@code value} isn't within the interval
{@code [min, max)}, no exception is thrown. In this case the method
{@link LongGene#isValid()} returns {@code false}.

@since 3.2

@param allele the value of the gene.
@param range the long range to use
@return a new random {@code LongGene}
@throws NullPointerException if the given {@code range} is {@code null}.
jenetics/src/main/java/io/jenetics/LongGene.java