public class FastReader extends Reader
| Constructor and Description |
|---|
FastReader(Reader in,
int bufferSize,
int pushbackBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getLastSnippet() |
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 String getLastSnippet()
Copyright © 2023. All rights reserved.