protected static class TroveArrayDBIDs.DBIDItr extends Object implements DBIDIter
Modifier and Type | Field and Description |
---|---|
(package private) int |
pos
Current position
|
(package private) gnu.trove.list.TIntList |
store
The actual store we use
|
Constructor and Description |
---|
TroveArrayDBIDs.DBIDItr(gnu.trove.list.TIntList store)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
advance()
Moves the iterator forward to the next entry.
|
DBID |
getDBID()
Get the current DBID.
|
int |
getIntegerID()
Return the integer value of the object ID, if possible.
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
int pos
gnu.trove.list.TIntList store
public TroveArrayDBIDs.DBIDItr(gnu.trove.list.TIntList store)
store
- The actual trove storepublic boolean valid()
DBIDIter
public void advance()
DBIDIter
public int getIntegerID()
DBIDIter
getIntegerID
in interface DBIDIter