public static interface IntSet.IntIterator
extends org.roaringbitmap.IntIterator
Iterator-like interface that allows to "skip" some elements of
the set| Modifier and Type | Method and Description |
|---|---|
IntSet.IntIterator |
clone()
Clone the iterator
|
boolean |
hasNext() |
int |
next() |
void |
skipAllBefore(int element)
Skips all the elements before the specified element, so that
next() gives the given element or, if it does not exist, the
element immediately after according to the sorting provided by this
set. |
boolean hasNext()
hasNext in interface org.roaringbitmap.IntIteratorint next()
next in interface org.roaringbitmap.IntIteratorNoSuchElementException - iteration has no more elements.void skipAllBefore(int element)
next() gives the given element or, if it does not exist, the
element immediately after according to the sorting provided by this
set.
If element is less than the next element, it does
nothing
element - first element to not skipIntSet.IntIterator clone()
clone in interface org.roaringbitmap.IntIteratorCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.