protected static class FastutilIntOpenHashSetModifiableDBIDs.Itr extends java.lang.Object implements IntegerDBIDMIter
| Modifier and Type | Field and Description |
|---|---|
(package private) it.unimi.dsi.fastutil.ints.IntIterator |
it
The actual iterator.
|
(package private) int |
prev
Current value.
|
| Constructor and Description |
|---|
Itr(it.unimi.dsi.fastutil.ints.IntIterator it)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IntegerDBIDMIter |
advance()
Moves the iterator forward to the next entry.
|
int |
internalGetIndex()
Internal only: Get the internal index.
|
void |
remove()
Remove the object the iterator currently points to.
|
java.lang.String |
toString() |
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
it.unimi.dsi.fastutil.ints.IntIterator it
int prev
public Itr(it.unimi.dsi.fastutil.ints.IntIterator it)
it - Int set iteratorpublic boolean valid()
Iterpublic IntegerDBIDMIter advance()
Iterpublic int internalGetIndex()
DBIDRefNOT FOR PUBLIC USE - ELKI Optimization engine only.
internalGetIndex in interface DBIDRefinternalGetIndex in interface IntegerDBIDRefpublic java.lang.String toString()
toString in class java.lang.Objectpublic void remove()
DBIDMIterDBIDUtil.deref(de.lmu.ifi.dbs.elki.database.ids.DBIDRef) may return a different
element. Call DBIDIter.advance() to advance the iterator to the next
element for further processing.Copyright © 2019 ELKI Development Team. License information.