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 IntIterator clone()
IntIterator
clone
in interface IntIterator
clone
in class Object
public boolean hasNext()
hasNext
in interface IntIterator
public int next()
next
in interface IntIterator
public void wrap(ImmutableRoaringBitmap r)
r
- bitmap to be iterated overCopyright © 2018. All rights reserved.