public static <A> AnyChromosome<A> of(
		final Supplier<? extends A> supplier,
		final Predicate<? super A> validator
	) {
		return of(supplier, validator, 1);
	}
Create a new chromosome of type {@code A} with the given parameters and
length one.

@param <A> the allele type
@param supplier the allele-supplier which is used for creating new,
       random alleles
@param validator the validator used for validating the created gene. This
       predicate is used in the {@link #isValid()} method.
@return a new chromosome of allele type {@code A}
@throws NullPointerException if the {@code supplier} or {@code validator}
        is {@code null}
jenetics/src/main/java/io/jenetics/AnyChromosome.java