public final class EmptyIntIterator extends Object implements IntSet.IntIterator
| Modifier and Type | Method and Description |
|---|---|
IntSet.IntIterator |
clone()
Clone the iterator
|
boolean |
hasNext() |
static EmptyIntIterator |
instance() |
int |
next() |
void |
remove()
Removes from the underlying collection the last element returned by
the iterator (optional operation).
|
void |
skipAllBefore(int element)
Skips all the elements before the the specified element, so that
IntSet.IntIterator.next() gives the given element or, if it does not exist, the
element immediately after according to the sorting provided by this
set. |
public static EmptyIntIterator instance()
public boolean hasNext()
hasNext in interface IntSet.IntIteratorhasNext in interface org.roaringbitmap.IntIteratorpublic int next()
next in interface IntSet.IntIteratornext in interface org.roaringbitmap.IntIteratorpublic void remove()
IntSet.IntIteratorremove in interface IntSet.IntIteratorpublic void skipAllBefore(int element)
IntSet.IntIteratorIntSet.IntIterator.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
skipAllBefore in interface IntSet.IntIteratorelement - first element to not skippublic IntSet.IntIterator clone()
IntSet.IntIteratorclone in interface IntSet.IntIteratorclone in interface org.roaringbitmap.IntIteratorclone in class ObjectCopyright © 2011–2017. All rights reserved.