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 voidadd(T o)booleanequals(java.lang.Object other)java.util.ListIterator<T>getDelegate()Return the direct delegate.java.util.ListIterator<T>getInnermostDelegate()Return the native delegate.inthashCode()booleanhasNext()booleanhasPrevious()Tnext()intnextIndex()Tprevious()intpreviousIndex()voidremove()voidset(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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hasNext
public boolean hasNext()
-
next
public T next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfacejava.util.ListIterator<T>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<T>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<T>
-
remove
public void remove()
-
-