public interface ContainerBatchIterator
extends java.lang.Cloneable
| 限定符和类型 | 方法和说明 |
|---|---|
void |
advanceIfNeeded(char target)
Advance until the value.
|
ContainerBatchIterator |
clone()
Creates a copy of the iterator.
|
boolean |
hasNext()
Whether the underlying container is exhausted or not
|
int |
next(int key,
int[] buffer)
Fills the buffer with values prefixed by the key,
and returns how much of the buffer was used.
|
void |
releaseContainer()
Discard the reference to the container
|
int next(int key,
int[] buffer)
key - the prefix of the valuesbuffer - the buffer to write values ontoboolean hasNext()
ContainerBatchIterator clone()
void releaseContainer()
void advanceIfNeeded(char target)
target - the value to advance to.