public static <A> AnyGene<A> of(
		final A allele,
		final Supplier<? extends A> supplier
	) {
		return new AnyGene<>(allele, supplier, a -> true);
	}
Create a new {@code AnyGene} instance with the given parameters. New
(random) genes are created with the given allele {@code supplier}. The
{@code validator} predicate of the generated gene will always return
{@code true}.

@param <A> the allele type
@param allele the actual allele instance the created gene represents.
       {@code null} values are allowed.
@param supplier the allele-supplier which is used for creating new,
       random alleles
@return a new {@code AnyGene} with the given parameters
@throws NullPointerException if the {@code suppler} is {@code null}
jenetics/src/main/java/io/jenetics/AnyGene.java