Class AbstractQueryResultIterator<E>

  • Type Parameters:
    E - Type of element returned by this iterator
    All Implemented Interfaces:
    java.util.Iterator<E>, java.util.ListIterator<E>
    Direct Known Subclasses:
    CandidateIdsQueryResult.ResultIterator

    public abstract class AbstractQueryResultIterator<E>
    extends java.lang.Object
    implements java.util.ListIterator<E>
    Abstract implementation of an iterator for query results. Can be used as the base class for an iterator for the implementation of AbstractQueryResult.
    • Constructor Detail

      • AbstractQueryResultIterator

        public AbstractQueryResultIterator()
    • Method Detail

      • add

        public void add​(java.lang.Object arg0)
        Specified by:
        add in interface java.util.ListIterator<E>
      • hasNext

        public abstract boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<E>
        Specified by:
        hasNext in interface java.util.ListIterator<E>
      • hasPrevious

        public abstract boolean hasPrevious()
        Specified by:
        hasPrevious in interface java.util.ListIterator<E>
      • next

        public abstract E next()
        Specified by:
        next in interface java.util.Iterator<E>
        Specified by:
        next in interface java.util.ListIterator<E>
      • nextIndex

        public abstract int nextIndex()
        Specified by:
        nextIndex in interface java.util.ListIterator<E>
      • previous

        public abstract E previous()
        Specified by:
        previous in interface java.util.ListIterator<E>
      • previousIndex

        public abstract int previousIndex()
        Specified by:
        previousIndex in interface java.util.ListIterator<E>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<E>
        Specified by:
        remove in interface java.util.ListIterator<E>
      • set

        public void set​(java.lang.Object arg0)
        Specified by:
        set in interface java.util.ListIterator<E>