public class FastReader extends Reader
Constructor and Description |
---|
FastReader(Reader in,
int bufferSize,
int pushbackBufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getCol() |
String |
getLastSnippet() |
int |
getLine() |
protected void |
movePosition(char ch) |
void |
pushback(char ch) |
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
public FastReader(Reader in, int bufferSize, int pushbackBufferSize)
public void pushback(char ch) throws IOException
IOException
protected void movePosition(char ch)
public int read() throws IOException
read
in class Reader
IOException
public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
public int getLine()
public int getCol()
public String getLastSnippet()
Copyright © 2024. All rights reserved.