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
IOExceptionprotected void movePosition(char ch)
public int read()
throws IOException
read in class ReaderIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read in class ReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionpublic int getLine()
public int getCol()
public String getLastSnippet()
Copyright © 2024. All rights reserved.