| Modifier and Type | Field and Description |
|---|---|
protected int |
capacity |
| Constructor and Description |
|---|
BufferingInputBase(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Does nothing
|
T |
get()
Get next item
|
int |
get(java.util.List<T> buffer,
int maxCount)
Bulk get into the specified buffer
|
protected abstract int |
loadMoreItems(T lastItem)
Called when the elements buffer is exhausted.
|
reset, skip, toStringprotected abstract int loadMoreItems(T lastItem) throws java.io.IOException
java.io.IOExceptionpublic final T get() throws java.io.IOException
Inputpublic final int get(java.util.List<T> buffer, int maxCount) throws java.io.IOException
ListInput