public interface BatchSupplier<T>
extends java.util.function.Supplier<T>, java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
int |
get(java.util.List<T> buffer,
int limit) |
void |
reset()
Reset this input making this readable from the beginning
|
long |
skip(long count)
Skip some items.
|
int get(java.util.List<T> buffer, int limit)
long skip(long count)
count - count of items should be skipped from the input streamvoid reset()