java.lang.Object
org.bitlap.roaringbitmap.buffer.BufferReverseIntIteratorFlyweight
- 所有已实现的接口:
Cloneable,IntIterator
Fast iterator minimizing the stress on the garbage collector. You can create one reusable
instance of this class and then
wrap(ImmutableRoaringBitmap)
This iterator enumerates the stored values in reverse (starting from the end).-
构造器详细资料
-
BufferReverseIntIteratorFlyweight
public BufferReverseIntIteratorFlyweight()Creates an instance that is not ready for iteration. You must first callwrap(ImmutableRoaringBitmap). -
BufferReverseIntIteratorFlyweight
Creates an instance that is ready for iteration.- 参数:
r- bitmap to be iterated over
-
-
方法详细资料
-
clone
从接口复制的说明:IntIteratorCreates a copy of the iterator.- 指定者:
clone在接口中IntIterator- 覆盖:
clone在类中Object- 返回:
- a clone of the current iterator
-
hasNext
public boolean hasNext()- 指定者:
hasNext在接口中IntIterator- 返回:
- whether there is another value
-
next
public int next()- 指定者:
next在接口中IntIterator- 返回:
- next integer value
-
wrap
Prepares a bitmap for iteration- 参数:
r- bitmap to be iterated over
-