
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()
Iterpublic IntegerDBIDMIter advance()
Iterpublic int internalGetIndex()
DBIDRefinternalGetIndex in interface DBIDRefinternalGetIndex in interface IntegerDBIDRefpublic 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 © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.