Class FilteringNodeIterator

  • All Implemented Interfaces:
    Iterator, NodeIterator, RangeIterator

    public class FilteringNodeIterator
    extends Object
    implements NodeIterator
    A wrapper around a NodeIterator filtering out nodes from the base iterator that don't match the specified filter. Due to the nature of the filter mechanism the size if the iterator may shrink upon iteration.