public BitChromosome map(final Function<? super BitSet, ? extends BitSet> f) {
		return of(f.apply(toBitSet()), length(), oneProbability());
	}
Maps the gene alleles of this chromosome, given as {@link BitSet}, by
applying the given mapper function {@code f}. The mapped gene values
are then wrapped into a newly created chromosome.

@since 6.1

@param f the mapper function
@return a newly created chromosome with the mapped gene values
@throws NullPointerException if the mapper function is {@code null}.
jenetics/src/main/java/io/jenetics/BitChromosome.java