Package org.apache.openjpa.lib.rop
Class ResultListIterator
- java.lang.Object
- 
- org.apache.openjpa.lib.rop.ResultListIterator
 
- 
- All Implemented Interfaces:
- java.util.Iterator,- java.util.ListIterator
 
 public class ResultListIterator extends java.lang.ObjectWrapper iterator that will return false forhasNext()if the owning ResultList has been closed.- Author:
- Marc Prud'hommeaux
 
- 
- 
Constructor SummaryConstructors Constructor Description ResultListIterator(java.util.ListIterator li, ResultList rl)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(E o)ResultListgetResultList()booleanhasNext()booleanhasPrevious()java.lang.Objectnext()intnextIndex()java.lang.Objectprevious()intpreviousIndex()voidremove()voidset(E o)
 
- 
- 
- 
Constructor Detail- 
ResultListIteratorpublic ResultListIterator(java.util.ListIterator li, ResultList rl)
 
- 
 - 
Method Detail- 
getResultListpublic ResultList getResultList() 
 - 
hasNextpublic boolean hasNext() 
 - 
hasPreviouspublic boolean hasPrevious() 
 - 
nextpublic java.lang.Object next() 
 - 
nextIndexpublic int nextIndex() 
 - 
previouspublic java.lang.Object previous() 
 - 
previousIndexpublic int previousIndex() 
 - 
addpublic void add(E o) - Specified by:
- addin interface- java.util.ListIterator<E>
 
 - 
setpublic void set(E o) - Specified by:
- setin interface- java.util.ListIterator<E>
 
 - 
removepublic void remove() - Specified by:
- removein interface- java.util.Iterator<E>
- Specified by:
- removein interface- java.util.ListIterator<E>
 
 
- 
 
-