public static final class Readers.LongChromosome extends Object
LongChromosome
objects.
XML format
<long-chromosome length="3">
<min>-9223372036854775808</min>
<max>9223372036854775807</max>
<alleles>
<allele>-1345217698116542402</allele>
<allele>-7144755673073475303</allele>
<allele>6053786736809578435</allele>
</alleles>
</long-chromosome>
Modifier and Type | Method and Description |
---|---|
static Reader<Long> |
alleleReader()
Return the default allele reader for the
LongChromosome . |
static LongChromosome |
read(InputStream in)
Read a new
LongChromosome from the given
input stream. |
static Reader<LongChromosome> |
reader()
Return a
LongChromosome reader. |
public static Reader<Long> alleleReader()
LongChromosome
.public static Reader<LongChromosome> reader()
LongChromosome
reader.public static LongChromosome read(InputStream in) throws XMLStreamException
LongChromosome
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-2017 Franz Wilhelmstötter (2017-08-22 19:30)