Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.openjpa.lib.rop
Class ResultListIterator

    java.lang.Object
      org.apache.openjpa.lib.rop.AbstractListIterator
          org.apache.openjpa.lib.rop.ResultListIterator

All Implemented Interfaces:
  Iterator, ListIterator

    public class ResultListIterator

extends AbstractListIterator

Wrapper iterator that will return false for `hasNext()` if the owning ResultList has been closed.

Author:
  Marc Prud'hommeaux

Constructor Summary
`ResultListIterator(ListIterator li, ResultList rl)`

Method Summary
`ResultList` | `getResultList()`
`boolean` | `hasNext()`
`boolean` | `hasPrevious()`
`Object` | `next()`
`int` | `nextIndex()`
`Object` | `previous()`
`int` | `previousIndex()`

Methods inherited from class org.apache.openjpa.lib.rop.AbstractListIterator
`add, remove, set`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ResultListIterator

    public ResultListIterator(ListIterator li,
                              ResultList rl)

Method Detail

### 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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.