@Override
	public boolean equals(final Object obj) {
		return obj instanceof IntegerGene other &&
			other._allele == _allele &&
			other._min == _min &&
			other._max == _max;
	}
Create a new gene from the given {@code value} and the gene context.

@since 5.0
@param allele the value of the new gene.
@return a new gene with the given value.
jenetics/src/main/java/io/jenetics/IntegerGene.java