@Override
	public int hashCode() {
		return hash(_alleleIndex, hash(_validAlleles));
	}
Create a new gene from the given {@code value} and the gene context.

@since 1.6

@param value the value of the new gene
@return a new gene with the given value
jenetics/src/main/java/io/jenetics/EnumGene.java