Package elki.database.ids.integer
Class FastutilIntOpenHashSetModifiableDBIDs.Itr
- java.lang.Object
-
- elki.database.ids.integer.FastutilIntOpenHashSetModifiableDBIDs.Itr
-
- All Implemented Interfaces:
DBIDIter,DBIDMIter,DBIDRef,IntegerDBIDIter,IntegerDBIDMIter,IntegerDBIDRef,Iter,MIter
- Enclosing class:
- FastutilIntOpenHashSetModifiableDBIDs
protected static class FastutilIntOpenHashSetModifiableDBIDs.Itr extends java.lang.Object implements IntegerDBIDMIter
Iterator over Fastutil hashs.- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description Itr(it.unimi.dsi.fastutil.ints.IntIterator it)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerDBIDMIteradvance()Moves the iterator forward to the next entry.intinternalGetIndex()Internal only: Get the internal index.voidremove()Remove the object the iterator currently points to.java.lang.StringtoString()booleanvalid()Returns true if the iterator currently points to a valid object.
-
-
-
Method Detail
-
valid
public boolean valid()
Description copied from interface:IterReturns true if the iterator currently points to a valid object.
-
advance
public IntegerDBIDMIter advance()
Description copied from interface:IterMoves the iterator forward to the next entry.
-
internalGetIndex
public int internalGetIndex()
Description copied from interface:DBIDRefInternal only: Get the internal index.NOT FOR PUBLIC USE - ELKI Optimization engine only.
- Specified by:
internalGetIndexin interfaceDBIDRef- Specified by:
internalGetIndexin interfaceIntegerDBIDRef- Returns:
- Internal index
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
remove
public void remove()
Description copied from interface:DBIDMIterRemove the object the iterator currently points to. Note: Subsequent calls toDBIDUtil.deref(elki.database.ids.DBIDRef)may return a different element. CallDBIDIter.advance()to advance the iterator to the next element for further processing.
-
-