public class IntIteratorFlyweight extends Object implements IntIterator
wrap(RoaringBitmap)| Constructor and Description |
|---|
IntIteratorFlyweight()
Creates an instance that is not ready for iteration.
|
IntIteratorFlyweight(RoaringBitmap r)
Creates an instance that is ready for iteration.
|
| Modifier and Type | Method and Description |
|---|---|
IntIterator |
clone()
Creates a copy of the iterator.
|
boolean |
hasNext() |
int |
next() |
void |
wrap(RoaringBitmap r)
Prepares a bitmap for iteration
|
public IntIteratorFlyweight()
wrap(RoaringBitmap).public IntIteratorFlyweight(RoaringBitmap r)
r - bitmap to be iterated overpublic void wrap(RoaringBitmap r)
r - bitmap to be iterated overpublic boolean hasNext()
hasNext in interface IntIteratorpublic int next()
next in interface IntIteratorpublic IntIterator clone()
IntIteratorclone in interface IntIteratorclone in class ObjectCopyright © 2015. All Rights Reserved.