public static class Series.Lines extends Series
Value.Chars
, strings) from an
input stream of byte such as a FileInputStream, say.
Also see Series.Separator
if interested in CSV files.Series.Discrete, Series.Int, Series.Lines, Series.Range, Series.Separator
Modifier and Type | Field and Description |
---|---|
java.io.InputStream |
inp
The InputStream that 'this' Lines is based on.
|
Constructor and Description |
---|
Lines(java.io.InputStream inp) |
Modifier and Type | Method and Description |
---|---|
void |
advance()
Advance past the current element -- there might or might not
be any more; also see
Series.hasSome() . |
Value.Chars |
elt()
The current line (a Chars Value).
|
boolean |
hasSome()
Is there at least a current element, (
Series.elt() )?
Also see Series.hasNone() . |
int |
position()
The current line number, starting at zero.
|
java.lang.String |
toString()
Return a short String description of 'this' Series,
say for use in debugging.
|
public final java.io.InputStream inp
public int position()
public boolean hasSome()
Series
Series.elt()
)?
Also see Series.hasNone()
.public Value.Chars elt()
public void advance()
Series
Series.hasSome()
.