Class FilteringIterator<F extends Feature>

  • All Implemented Interfaces:

    public class FilteringIterator<F extends Feature>
    extends Object
    implements Iterator<F>
    Decorates a org.geotools.feature.Feature iterator with one that filters content.
    Justin Deoliveira, The Open Planning Project
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Iterator<F> getDelegate()  
      boolean hasNext()  
      F next()  
      void remove()  
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface Iterator

    • Constructor Detail

      • FilteringIterator

        public FilteringIterator​(Iterator<F> delegate,
                                 Filter filter)
    • Method Detail

      • getDelegate

        public Iterator<F> getDelegate()
      • remove

        public void remove()
        Specified by:
        remove in interface Iterator<F extends Feature>
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<F extends Feature>
      • next

        public F next()
        Specified by:
        next in interface Iterator<F extends Feature>