Package org.apache.openjpa.kernel
Class DelegatingResultList.DelegatingListIterator<T>
- java.lang.Object
-
- org.apache.openjpa.kernel.DelegatingResultList.DelegatingListIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
,java.util.ListIterator<T>
- Enclosing class:
- DelegatingResultList<T>
public class DelegatingResultList.DelegatingListIterator<T> extends java.lang.Object implements java.util.ListIterator<T>
Delegating iterator that also performs exception translation.
-
-
Constructor Summary
Constructors Constructor Description DelegatingListIterator(java.util.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(java.lang.Object other)
java.util.ListIterator<T>
getDelegate()
Return the direct delegate.java.util.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)
-
-
-
Constructor Detail
-
DelegatingListIterator
public DelegatingListIterator(java.util.ListIterator<T> it)
Constructor; supply delegate.
-
-
Method Detail
-
getDelegate
public java.util.ListIterator<T> getDelegate()
Return the direct delegate.
-
getInnermostDelegate
public java.util.ListIterator<T> getInnermostDelegate()
Return the native delegate.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hasNext
public boolean hasNext()
-
next
public T next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfacejava.util.ListIterator<T>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfacejava.util.ListIterator<T>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfacejava.util.ListIterator<T>
-
remove
public void remove()
-
-