org.apache.openjpa.kernel
Class DelegatingResultList.DelegatingListIterator

java.lang.Object
  extended by org.apache.openjpa.kernel.DelegatingResultList.DelegatingListIterator
All Implemented Interfaces:
Iterator, ListIterator
Enclosing class:
DelegatingResultList

public class DelegatingResultList.DelegatingListIterator
extends Object
implements ListIterator

Delegating iterator that also performs exception translation.


Constructor Summary
DelegatingResultList.DelegatingListIterator(ListIterator it)
          Constructor; supply delegate.
 
Method Summary
 void add(Object o)
           
 boolean equals(Object other)
           
 ListIterator getDelegate()
          Return the direct delegate.
 ListIterator getInnermostDelegate()
          Return the native delegate.
 int hashCode()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 Object next()
           
 int nextIndex()
           
 Object previous()
           
 int previousIndex()
           
 void remove()
           
 void set(Object o)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingResultList.DelegatingListIterator

public DelegatingResultList.DelegatingListIterator(ListIterator it)
Constructor; supply delegate.

Method Detail

getDelegate

public ListIterator getDelegate()
Return the direct delegate.


getInnermostDelegate

public ListIterator getInnermostDelegate()
Return the native delegate.


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator
Specified by:
hasNext in interface ListIterator

next

public Object next()
Specified by:
next in interface Iterator
Specified by:
next in interface ListIterator

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface ListIterator

previous

public Object previous()
Specified by:
previous in interface ListIterator

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface ListIterator

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface ListIterator

remove

public void remove()
Specified by:
remove in interface Iterator
Specified by:
remove in interface ListIterator

set

public void set(Object o)
Specified by:
set in interface ListIterator

add

public void add(Object o)
Specified by:
add in interface ListIterator


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