public static <T, R> Codec<R, IntegerGene>
	singleIntegerChromosomeMapper(
		final Cfg<? extends T> cfg,
		final IntRange range,
		final int length,
		final Function<? super SymbolIndex, ? extends Generator<T, R>> generator
	) {
		return singleIntegerChromosomeMapper(
			cfg, range, IntRange.of(length), generator
		);
	}
Create a mapping codec, similar as in {@link #singleBitChromosomeMapper(Cfg, int, Function)}.
The only difference is that the codons are encoded directly, via an
integer-chromosome, so that no gene split is necessary.
{@snippet lang="java":
final Cfg<String> cfg = null; // @replace substring='null' replacement="..."
final Codec<List<Terminal<String>>, IntegerGene> codec = singleIntegerChromosomeMapper(
    cfg,
    IntRange.of(0, 256), // Value range of chromosomes.
    100,                 // Length (range) ot the chromosome.
    index -> new SentenceGenerator<>(index, 1000)
);
}

@param cfg the encoding grammar
@param range the value range of the integer genes
@param length the length range of the integer-chromosome
@param generator sentence generator function from a given
       {@link SymbolIndex}
@param <T> the terminal token type of the grammar
@param <R> the result type of the mapper
@return a new mapping codec for the given {@code cfg}
jenetics.ext/src/main/java/io/jenetics/ext/grammar/Mappers.java