@Test(expectedExceptions = IllegalArgumentException.class) public void ofAmbiguousGenes1() { IntegerChromosome.of( IntegerGene.of(1, 2), IntegerGene.of(3, 4), IntegerGene.of(5, 6) ); }
public static IntegerChromosome of(final IntegerGene... genes) { checkGeneRange(Stream.of(genes).map(IntegerGene::range)); return new IntegerChromosome(ISeq.of(genes), IntRange.of(genes.length)); }
IntegerChromosome extends AbstractBoundedChromosome<Integer, IntegerGene> implements
			NumericChromosome<Integer, IntegerGene>,
			Serializable { public static IntegerChromosome of(final IntegerGene... genes) { checkGeneRange(Stream.of(genes).map(IntegerGene::range)); return new IntegerChromosome(ISeq.of(genes), IntRange.of(genes.length)); } }
IntegerChromosome extends AbstractBoundedChromosome<Integer, IntegerGene> implements
			NumericChromosome<Integer, IntegerGene>,
			Serializable { public static IntegerChromosome of(final IntegerGene... genes) { checkGeneRange(Stream.of(genes).map(IntegerGene::range)); return new IntegerChromosome(ISeq.of(genes), IntRange.of(genes.length)); } protected  IntegerChromosome(
		final ISeq<IntegerGene> genes,
		final IntRange lengthRange
	); }
IntegerChromosome extends AbstractBoundedChromosome<Integer, IntegerGene> implements
			NumericChromosome<Integer, IntegerGene>,
			Serializable { public static IntegerChromosome of(final IntegerGene... genes) { checkGeneRange(Stream.of(genes).map(IntegerGene::range)); return new IntegerChromosome(ISeq.of(genes), IntRange.of(genes.length)); } protected  IntegerChromosome(
		final ISeq<IntegerGene> genes,
		final IntRange lengthRange
	); @Override IntegerChromosome newInstance(final ISeq<IntegerGene> genes); @Override IntegerChromosome newInstance(); IntegerChromosome map(final Function<? super int[], int[]> f); IntStream intStream(); int[] toArray(final int[] array); int[] toArray(); static IntegerChromosome of(final IntegerGene... genes); static IntegerChromosome of(final Iterable<IntegerGene> genes); static IntegerChromosome of(
		final int min,
		final int max,
		final IntRange lengthRange
	); static IntegerChromosome of(
		final int min,
		final int max,
		final int length
	); static IntegerChromosome of(
		final IntRange range,
		final IntRange lengthRange
	); static IntegerChromosome of(final IntRange range, final int length); static IntegerChromosome of(final int min, final int max); static IntegerChromosome of(final IntRange range); }
IntegerChromosome extends AbstractBoundedChromosome<Integer, IntegerGene> implements
			NumericChromosome<Integer, IntegerGene>,
			Serializable { public static IntegerChromosome of(final IntegerGene... genes) { checkGeneRange(Stream.of(genes).map(IntegerGene::range)); return new IntegerChromosome(ISeq.of(genes), IntRange.of(genes.length)); } protected  IntegerChromosome(
		final ISeq<IntegerGene> genes,
		final IntRange lengthRange
	); @Override IntegerChromosome newInstance(final ISeq<IntegerGene> genes); @Override IntegerChromosome newInstance(); IntegerChromosome map(final Function<? super int[], int[]> f); IntStream intStream(); int[] toArray(final int[] array); int[] toArray(); static IntegerChromosome of(final IntegerGene... genes); static IntegerChromosome of(final Iterable<IntegerGene> genes); static IntegerChromosome of(
		final int min,
		final int max,
		final IntRange lengthRange
	); static IntegerChromosome of(
		final int min,
		final int max,
		final int length
	); static IntegerChromosome of(
		final IntRange range,
		final IntRange lengthRange
	); static IntegerChromosome of(final IntRange range, final int length); static IntegerChromosome of(final int min, final int max); static IntegerChromosome of(final IntRange range);  }