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

@since 3.2

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