|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ac.ulg.montefiore.run.jahmm.io.ObservationReader<ObservationInteger>
be.ac.ulg.montefiore.run.jahmm.io.ObservationIntegerReader
public class ObservationIntegerReader
Reads an ObservationInteger up to (and including) a semi-colon.
The format of this observation is a simple integer ([+-]?[0123456789]+).
For example, reading
76;creates an observation such as the one generated by
new ObservationInteger(76);
| Constructor Summary | |
|---|---|
ObservationIntegerReader()
Constructs a reader of ObservationInteger. |
|
ObservationIntegerReader(int nbElements)
Constructs a reader of ObservationInteger. |
|
| Method Summary | |
|---|---|
ObservationInteger |
read(java.io.StreamTokenizer st)
Reads an ObservationInteger reader, as explained in
ObservationReader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObservationIntegerReader()
ObservationInteger.
public ObservationIntegerReader(int nbElements)
ObservationInteger.
Verifies the maximum value of the observations read.
nbElements - The permitted number of different elements. Each
value read must be 0 ≤ value < nbElements.| Method Detail |
|---|
public ObservationInteger read(java.io.StreamTokenizer st)
throws java.io.IOException,
FileFormatException
ObservationInteger reader, as explained in
ObservationReader.
read in class ObservationReader<ObservationInteger>st - A stream tokenizer.
ObservationInteger read.
java.io.IOException
FileFormatException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||