protected static class TroveHashSetModifiableDBIDs.Itr extends Object implements IntegerDBIDMIter
Modifier and Type | Class and Description |
---|---|
private static class |
TroveHashSetModifiableDBIDs.Itr.TIntHashItr
Custom iterator over TIntHash.
|
Modifier and Type | Field and Description |
---|---|
(package private) TroveHashSetModifiableDBIDs.Itr.TIntHashItr |
it
The actual iterator.
|
Constructor and Description |
---|
TroveHashSetModifiableDBIDs.Itr(gnu.trove.impl.hash.TIntHash hash)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IntegerDBIDMIter |
advance()
Moves the iterator forward to the next entry.
|
int |
internalGetIndex()
Get the internal index.
|
void |
remove()
Remove the object the iterator currently points to.
|
String |
toString() |
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
TroveHashSetModifiableDBIDs.Itr.TIntHashItr it
public TroveHashSetModifiableDBIDs.Itr(gnu.trove.impl.hash.TIntHash hash)
hash
- Trove hashpublic boolean valid()
Iter
public IntegerDBIDMIter advance()
Iter
public int internalGetIndex()
DBIDRef
internalGetIndex
in interface DBIDRef
internalGetIndex
in interface IntegerDBIDRef
public void remove()
DBIDMIter
DBIDUtil.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 © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.