public abstract class AbstractArrayIterator<T> extends CGINIterator
children, position
Constructor and 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.
|
getNodePointer, getPosition, setPosition
public AbstractArrayIterator(T[] array, CGINPointer parent, org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
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