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
      • nextInt

        public int nextInt()
                    throws java.util.NoSuchElementException
        Specified by:
        nextInt in interface Iterator<E>
        Throws:
        java.util.NoSuchElementException
      • nextLong

        public long nextLong()
                      throws java.util.NoSuchElementException
        Specified by:
        nextLong in interface Iterator<E>
        Throws:
        java.util.NoSuchElementException
      • remove

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