public static final class Readers.CharacterChromosome extends Object
CharacterChromosome
objects.
XML format
<character-chromosome length="4">
<valid-alleles>ABCDEFGHIJKLMNOPQRSTUVWXYZ<valid-alleles>
<alleles>ASDF</alleles>
</character-chromosome>
Modifier and Type | Method and Description |
---|---|
static CharacterChromosome |
read(InputStream in)
Read a new
CharacterChromosome from the given
input stream. |
static Reader<CharacterChromosome> |
reader()
Return a XML reader for
CharacterChromosome
objects. |
public static Reader<CharacterChromosome> reader()
CharacterChromosome
objects.public static CharacterChromosome read(InputStream in) throws XMLStreamException
CharacterChromosome
from the given
input stream.in
- the data source of the chromosomeXMLStreamException
- if reading the chromosome failsNullPointerException
- if the given input stream is null
© 2007-2018 Franz Wilhelmstötter (2018-05-31 12:39)