public class FastScannerNl extends Object implements FastScanner
Modifier and Type | Field and Description |
---|---|
protected CharBuffer |
cbuf |
protected int |
end |
protected char |
nlChar |
protected StringBuilder |
result |
protected int |
start |
protected Object |
sync |
Constructor and Description |
---|
FastScannerNl(Readable reader) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected String |
getLine(boolean endOfLine) |
String |
next() |
protected char nlChar
protected StringBuilder result
protected CharBuffer cbuf
protected int end
protected int start
protected final Object sync
public FastScannerNl(Readable reader)
public String next() throws IOException
next
in interface FastScanner
IOException
protected String getLine(boolean endOfLine)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2004–2020. All rights reserved.