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

Constructor Summary
WrappingListIterator(java.util.ListIterator li)
           
 
Method Summary
 void add(java.lang.Object object)
           
 java.util.ListIterator getListIterator()
           
 boolean hasPrevious()
           
 int nextIndex()
           
 java.lang.Object previous()
           
 int previousIndex()
           
 void set(java.lang.Object object)
           
 
Methods inherited from class stomp.wrapper.WrappingIterator
getIterator, hasNext, next, remove
 
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
 

Constructor Detail

WrappingListIterator

public WrappingListIterator(java.util.ListIterator li)
Method Detail

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