Modifier and Type | Method and Description |
---|---|
I |
get()
Returns the symbol from the stream indicated by this input.
|
boolean |
isEof()
Returns true if and only if this input is at the end of the input stream.
|
Input<I> |
next()
Get the next position in the input stream.
|
static Input<Chr> |
of(char[] data)
Construct an
Input from a char array. |
static Input<Chr> |
of(Reader rdr)
Construct an
Input from a Reader . |
static Input<Chr> |
of(String s)
Construct an
Input from a String . |
Object |
position()
Return a implementation-specific representation of the
current position (e.g.
|
static Input<Chr> of(char[] data)
Input
from a char
array.data
- the input datastatic Input<Chr> of(String s)
Input
from a String
.s
- the input datastatic Input<Chr> of(Reader rdr)
Input
from a Reader
.rdr
- the input databoolean isEof()
I get()
isEof
is true.Input<I> next()
isEof
is true.Copyright © 2019. All rights reserved.