| Modifier and Type | Field | Description |
|---|---|---|
protected int |
capacity |
| Constructor | Description |
|---|---|
BufferingInputBase(int capacity) |
| Modifier and Type | Method | 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.
|
protected 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