Module org.hsqldb

Class FilteredIterator<E>

  • All Implemented Interfaces:
    Iterator<E>

    public class FilteredIterator<E>
    extends java.lang.Object
    implements Iterator<E>
    An iterator with an added filter.
    Since:
    2.5.1
    Author:
    Fred Toussi (fredt@users dot sourceforge.net)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<E>
      • next

        public E next()
               throws java.util.NoSuchElementException
        Specified by:
        next in interface Iterator<E>
        Throws:
        java.util.NoSuchElementException