public class ReverseIntIteratorFlyweight extends Object implements IntIterator
wrap(RoaringBitmap)
This iterator enumerates the stored values in reverse (starting from the end).| Constructor and Description |
|---|
ReverseIntIteratorFlyweight()
Creates an instance that is not ready for iteration.
|
ReverseIntIteratorFlyweight(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 ReverseIntIteratorFlyweight()
wrap(RoaringBitmap).public ReverseIntIteratorFlyweight(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.