public static <
		A,
		G extends Gene<A, G>,
		C extends Chromosome<G>
	>
	void write(
		final OutputStream out,
		final Collection<io.jenetics.Genotype<G>> data,
		final Writer<? super C> chromosomeWriter
	)
		throws XMLStreamException
	{
		Genotypes.write(out, data, chromosomeWriter);
	}
Write the given {@link io.jenetics.Genotype} to the given output
stream.

@see Genotypes#write(OutputStream, Collection, Writer)

@param <A> the allele type
@param <G> the gene type
@param <C> the chromosome type
@param out the target output stream
@param data the genotypes to write
@param chromosomeWriter the chromosome writer used to write the
       genotypes
@throws XMLStreamException if an error occurs while writing the
        chromosome
@throws NullPointerException if the one of the arguments is
        {@code null}
jenetics.xml/src/main/java/io/jenetics/xml/Writers.java