public class BufferReverseIntIteratorFlyweight extends Object implements IntIterator
wrap(ImmutableRoaringBitmap)
This iterator enumerates the stored values in reverse (starting from the end).| Constructor and Description |
|---|
BufferReverseIntIteratorFlyweight()
Creates an instance that is not ready for iteration.
|
BufferReverseIntIteratorFlyweight(ImmutableRoaringBitmap 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(ImmutableRoaringBitmap r)
Prepares a bitmap for iteration
|
public BufferReverseIntIteratorFlyweight()
wrap(ImmutableRoaringBitmap).public BufferReverseIntIteratorFlyweight(ImmutableRoaringBitmap r)
r - bitmap to be iterated overpublic void wrap(ImmutableRoaringBitmap 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.