public EnumGene<A> newInstance(final A value) {
		return new EnumGene<>(
			_validAlleles.indexOf(value),
			_validAlleles
		);
	}
public EnumGene < A > newInstance ( final A value ) { return new EnumGene < > ( _validAlleles . indexOf ( value ) , _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.