Modifier and Type | Field and Description |
---|---|
(package private) DBID |
cur
Current DBID.
|
(package private) Iterator<DBID> |
iter
The real iterator.
|
Constructor and Description |
---|
DBIDIterAdapter(Iterator<DBID> iter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
public boolean valid()
Iter
public void advance()
Iter
public int internalGetIndex()
DBIDRef
internalGetIndex
in interface DBIDRef
public void remove()
DBIDMIter
DBIDUtil.deref(de.lmu.ifi.dbs.elki.database.ids.DBIDRef)
may return a different
element. Call Iter.advance()
to advance the iterator to the next
element for further processing.