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