public class TextReader<S extends TextReader> extends Object
| Constructor and Description |
|---|
TextReader(String text) |
| Modifier and Type | Method and Description |
|---|---|
S |
back() |
int |
cursor() |
boolean |
hasNext() |
int |
line() |
char |
next()
下一個字符
|
char |
peek()
當前字符
|
int |
position() |
String |
text() |
String |
toString() |
static TextReader |
with(String text) |
public TextReader(String text)
public static TextReader with(String text)
public char peek()
public char next()
public int position()
public int line()
public int cursor()
public S back()
public boolean hasNext()
public String text()
Copyright © 2018. All rights reserved.