@Override
	public boolean isValid() {
		return _alleleIndex >= 0 && _alleleIndex < _validAlleles.length();
	}
Return the index of the allele this gene is representing.

@return the index of the allele this gene is representing
jenetics/src/main/java/io/jenetics/EnumGene.java