Class 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.
    • 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 iterator
        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