public class BitmapBatchIterator extends Object implements ContainerBatchIterator
Constructor and Description |
---|
BitmapBatchIterator(MappeableBitmapContainer bitmap) |
Modifier and Type | Method and Description |
---|---|
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.
|
public BitmapBatchIterator(MappeableBitmapContainer bitmap)
public int next(int key, int[] buffer)
ContainerBatchIterator
next
in interface ContainerBatchIterator
key
- the prefix of the valuesbuffer
- the buffer to write values ontopublic boolean hasNext()
ContainerBatchIterator
hasNext
in interface ContainerBatchIterator
Copyright © 2018. All rights reserved.