Package org.apache.openjpa.kernel
Class DelegatingResultList.DelegatingListIterator<T>
- java.lang.Object
-
- org.apache.openjpa.kernel.DelegatingResultList.DelegatingListIterator<T>
-
- All Implemented Interfaces:
Iterator<T>
,ListIterator<T>
- Enclosing class:
- DelegatingResultList<T>
public class DelegatingResultList.DelegatingListIterator<T> extends Object implements ListIterator<T>
Delegating iterator that also performs exception translation.
-
-
Constructor Summary
Constructors Constructor Description DelegatingListIterator(ListIterator<T> it)
Constructor; supply delegate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(T o)
boolean
equals(Object other)
ListIterator<T>
getDelegate()
Return the direct delegate.ListIterator<T>
getInnermostDelegate()
Return the native delegate.int
hashCode()
boolean
hasNext()
boolean
hasPrevious()
T
next()
int
nextIndex()
T
previous()
int
previousIndex()
void
remove()
void
set(T o)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
DelegatingListIterator
public DelegatingListIterator(ListIterator<T> it)
Constructor; supply delegate.
-
-
Method Detail
-
getDelegate
public ListIterator<T> getDelegate()
Return the direct delegate.
-
getInnermostDelegate
public ListIterator<T> getInnermostDelegate()
Return the native delegate.
-
hasNext
public boolean hasNext()
-
next
public T next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfaceListIterator<T>
-
previous
public T previous()
- Specified by:
previous
in interfaceListIterator<T>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfaceListIterator<T>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfaceListIterator<T>
-
remove
public void remove()
-
set
public void set(T o)
- Specified by:
set
in interfaceListIterator<T>
-
add
public void add(T o)
- Specified by:
add
in interfaceListIterator<T>
-
-