class IdCollectionIterable.IdIterator extends Object implements AmetysObjectIterator<A>
Modifier and Type | Field and Description |
---|---|
private Iterator<String> |
_it |
private int |
_pos |
private long |
_size |
Constructor and Description |
---|
IdIterator(Iterator<String> it,
long size) |
Modifier and Type | Method and Description |
---|---|
long |
getPosition()
Returns the current position within the iterator.
|
long |
getSize()
Returns the number of elements in the iterator.
|
boolean |
hasNext() |
A |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
skip
forEachRemaining
public IdIterator(Iterator<String> it, long size)
public long getSize()
AmetysObjectIterator
getSize
in interface AmetysObjectIterator<A extends AmetysObject>
public long getPosition()
AmetysObjectIterator
next
call.
getPosition
in interface AmetysObjectIterator<A extends AmetysObject>
public boolean hasNext()
hasNext
in interface Iterator<A extends AmetysObject>
public void remove()
remove
in interface Iterator<A extends AmetysObject>