Class ArrayIterator<T>

  • All Implemented Interfaces:
    org.apache.commons.jxpath.ri.model.NodeIterator

    public class ArrayIterator<T>
    extends AbstractArrayIterator<T>
    A NodeIterator for an array.
    • Constructor Detail

      • ArrayIterator

        public 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.
        Parameters:
        parent - pointer to the whole array
        nodeTest - test that element must pass to be visited by the iterator
        reverse - order in which to visit elements
        startWith - element at which to start