class ExportCatalogByLevelsGenerator.FilteredByVersionLabelIterable.FilteredByVersionLabelIterator extends Object implements AmetysObjectIterator<P>
Modifier and Type | Field and Description |
---|---|
private long |
_invalids |
private Iterator<P> |
_it |
private String |
_label |
private P |
_nextObject |
private int |
_pos |
private long |
_size |
Constructor and Description |
---|
FilteredByVersionLabelIterator(Iterator<P> it,
long size,
String label) |
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() |
P |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
skip
forEachRemaining, remove
private long _invalids
private Iterator<P extends VersionAwareAmetysObject> _it
private int _pos
private long _size
private P extends VersionAwareAmetysObject _nextObject
public FilteredByVersionLabelIterator(Iterator<P> it, long size, String label)
public boolean hasNext()
hasNext
in interface Iterator<P extends VersionAwareAmetysObject>
public long getSize()
AmetysObjectIterator
getSize
in interface AmetysObjectIterator<P extends VersionAwareAmetysObject>
public long getPosition()
AmetysObjectIterator
next
call.
getPosition
in interface AmetysObjectIterator<P extends VersionAwareAmetysObject>