public class ArrayIterator<T> extends AbstractArrayIterator<T>
children, position
Constructor and Description |
---|
ArrayIterator(ArrayPointer 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 ArrayIterator(ArrayPointer parent, org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
parent
- 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