class StaticZone.StaticZoneItemIterator extends Object implements AmetysObjectIterator<StaticZoneItem>
Modifier and Type | Field and Description |
---|---|
(package private) AmetysObjectIterator<? extends ZoneItem> |
_it |
Constructor and Description |
---|
StaticZoneItemIterator(AmetysObjectIterator<? extends ZoneItem> it) |
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() |
StaticZoneItem |
next() |
void |
remove() |
void |
skip(long skipNum)
Skip a number of elements in the iterator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
AmetysObjectIterator<? extends ZoneItem> _it
public StaticZoneItemIterator(AmetysObjectIterator<? extends ZoneItem> it)
public boolean hasNext()
hasNext
in interface Iterator<StaticZoneItem>
public StaticZoneItem next()
next
in interface Iterator<StaticZoneItem>
public void skip(long skipNum)
AmetysObjectIterator
skipNum
times Iterator.next()
.skip
in interface AmetysObjectIterator<StaticZoneItem>
skipNum
- the non-negative number of elements to skippublic long getPosition()
AmetysObjectIterator
next
call.
getPosition
in interface AmetysObjectIterator<StaticZoneItem>
public long getSize()
AmetysObjectIterator
getSize
in interface AmetysObjectIterator<StaticZoneItem>
public void remove()
remove
in interface Iterator<StaticZoneItem>