Class ResultListIterator

java.lang.Object
org.apache.openjpa.lib.rop.ResultListIterator
All Implemented Interfaces:
Iterator, ListIterator

public class ResultListIterator extends Object
Wrapper iterator that will return false for hasNext() if the owning ResultList has been closed.
Author:
Marc Prud'hommeaux
  • Constructor Details

  • Method Details

    • getResultList

      public ResultList getResultList()
    • hasNext

      public boolean hasNext()
    • hasPrevious

      public boolean hasPrevious()
    • next

      public Object next()
    • nextIndex

      public int nextIndex()
    • previous

      public Object previous()
    • previousIndex

      public int previousIndex()
    • add

      public void add(Object o)
      Specified by:
      add in interface ListIterator<E>
    • set

      public void set(Object o)
      Specified by:
      set in interface ListIterator<E>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<E>
      Specified by:
      remove in interface ListIterator<E>