stomp.wrapper
Class WrappingListIterator
java.lang.Object
|
+--stomp.wrapper.WrappingIterator
|
+--stomp.wrapper.WrappingListIterator
- All Implemented Interfaces:
- java.util.Iterator, java.util.ListIterator
- public class WrappingListIterator
- extends WrappingIterator
- implements java.util.ListIterator
wraps a list iterator, ensuring that any returned objects
are of proxy type if possible.
- Author:
- Eric Lindauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.ListIterator |
hasNext, next, remove |
WrappingListIterator
public WrappingListIterator(java.util.ListIterator li)
getListIterator
public java.util.ListIterator getListIterator()
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interface java.util.ListIterator
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interface java.util.ListIterator
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interface java.util.ListIterator
previous
public java.lang.Object previous()
- Specified by:
previous
in interface java.util.ListIterator
set
public void set(java.lang.Object object)
- Specified by:
set
in interface java.util.ListIterator
add
public void add(java.lang.Object object)
- Specified by:
add
in interface java.util.ListIterator