Class AbstractArrayIterator<T>
- java.lang.Object
-
- CGINIterator
-
- AbstractArrayIterator<T>
-
- All Implemented Interfaces:
org.apache.commons.jxpath.ri.model.NodeIterator
- Direct Known Subclasses:
ArrayDataObjectIterator
,ArrayIterator
public abstract class AbstractArrayIterator<T> extends CGINIterator
Abstract superclass of all CGIN array iterators.
-
-
Field Summary
-
Fields inherited from class com.opencloud.slee.resources.cgin.xpath.CGINIterator
children, position
-
-
Constructor Summary
Constructors Constructor Description AbstractArrayIterator(T[] array, CGINPointer parent, org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
Creates a NodeIterator for the elements of the given array.
-
Method Summary
-
Methods inherited from class com.opencloud.slee.resources.cgin.xpath.CGINIterator
getNodePointer, getPosition, setPosition
-
-
-
-
Constructor Detail
-
AbstractArrayIterator
public AbstractArrayIterator(T[] array, CGINPointer parent, org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
Creates a NodeIterator for the elements of the given array.- Parameters:
array
- candidate elements for this iteratorparent
- pointer to the whole arraynodeTest
- test that element must pass to be visited by the iteratorreverse
- order in which to visit elementsstartWith
- element at which to start
-
-