public static Codons ofIntegerGenes(final BaseSeq<IntegerGene> genes) {
		return new Codons(i -> genes.get(i).intValue(), genes.length());
	}
Creates a new <em>codons</em> object from the given int-genes.
{@snippet lang="java":
final var chromosome = IntegerChromosome.of(IntRange.of(0, 256), 1_000);
final var codons = Codons.ofIntegerGenes(chromosome);
}

@param genes the genes used for creating the codon object
@return a new <em>codons</em> object
jenetics.ext/src/main/java/io/jenetics/ext/grammar/Codons.java