Class AmetysObjectCollectionFactory.WrapperNodeIterator
- java.lang.Object
-
- org.ametys.plugins.repository.collection.AmetysObjectCollectionFactory.WrapperNodeIterator
-
- All Implemented Interfaces:
Iterator
,NodeIterator
,RangeIterator
- Enclosing class:
- AmetysObjectCollectionFactory
private class AmetysObjectCollectionFactory.WrapperNodeIterator extends Object implements NodeIterator
-
-
Field Summary
Fields Modifier and Type Field Description private Node
_firstElement
private boolean
_firstElementUsed
private NodeIterator
_it
-
Constructor Summary
Constructors Constructor Description WrapperNodeIterator(Node firstElement, NodeIterator it)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getPosition()
long
getSize()
boolean
hasNext()
Object
next()
Node
nextNode()
void
remove()
void
skip(long skipNum)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Field Detail
-
_firstElement
private Node _firstElement
-
_it
private NodeIterator _it
-
_firstElementUsed
private boolean _firstElementUsed
-
-
Constructor Detail
-
WrapperNodeIterator
public WrapperNodeIterator(Node firstElement, NodeIterator it)
-
-
Method Detail
-
nextNode
public Node nextNode()
- Specified by:
nextNode
in interfaceNodeIterator
-
getPosition
public long getPosition()
- Specified by:
getPosition
in interfaceRangeIterator
-
getSize
public long getSize()
- Specified by:
getSize
in interfaceRangeIterator
-
skip
public void skip(long skipNum)
- Specified by:
skip
in interfaceRangeIterator
-
-