class CollectionIterable.CollectionIterator extends Object implements AmetysObjectIterator<A>
| Modifier and Type | Field and Description | 
|---|---|
private Iterator<A> | 
_it  | 
private int | 
_pos  | 
private long | 
_size  | 
| Constructor and Description | 
|---|
CollectionIterator(Iterator<A> 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()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipforEachRemaining, removeprivate Iterator<A extends AmetysObject> _it
private int _pos
private long _size
public CollectionIterator(Iterator<A> it, long size)
public boolean hasNext()
hasNext in interface Iterator<A extends AmetysObject>public long getSize()
AmetysObjectIteratorgetSize in interface AmetysObjectIterator<A extends AmetysObject>public long getPosition()
AmetysObjectIteratornext call.
 getPosition in interface AmetysObjectIterator<A extends AmetysObject>