
class UnmodifiableArrayDBIDs.UnmodifiableDBIDArrayIter extends Object implements DBIDArrayIter
| Modifier and Type | Field and Description |
|---|---|
private DBIDArrayIter |
it
Wrapped iterator.
|
| Constructor and Description |
|---|
UnmodifiableArrayDBIDs.UnmodifiableDBIDArrayIter(DBIDArrayIter it)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
advance()
Moves the iterator forward to the next entry.
|
void |
advance(int count)
Moves the iterator forward or backward by the given offset.
|
int |
getOffset()
Get current iterator offset.
|
int |
internalGetIndex()
Get the internal index.
|
void |
retract()
Moves the iterator backward to the previous entry.
|
void |
seek(int off)
Moves the iterator to the given position
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
private DBIDArrayIter it
public UnmodifiableArrayDBIDs.UnmodifiableDBIDArrayIter(DBIDArrayIter it)
it - inner iteratorpublic boolean valid()
Iterpublic void advance()
Iterpublic int internalGetIndex()
DBIDRefinternalGetIndex in interface DBIDRefpublic void advance(int count)
ArrayIterpublic void retract()
ArrayIterpublic void seek(int off)
ArrayIter