org.jboss.solder.util.collections
Class WrappedListIterator<K,V>

java.lang.Object
  extended by org.jboss.solder.util.collections.WrappedIterator<K,V>
      extended by org.jboss.solder.util.collections.WrappedListIterator<K,V>
All Implemented Interfaces:
Iterator<V>, ListIterator<V>

public class WrappedListIterator<K,V>
extends WrappedIterator<K,V>
implements ListIterator<V>

ListIterator decorator.


Constructor Summary
WrappedListIterator(int index, org.jboss.solder.util.collections.WrappedList<K,V> collection)
           
 
Method Summary
 void add(V value)
           
 boolean hasPrevious()
           
 int nextIndex()
           
 V previous()
           
 int previousIndex()
           
 void set(V value)
           
 
Methods inherited from class org.jboss.solder.util.collections.WrappedIterator
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

WrappedListIterator

public WrappedListIterator(int index,
                           org.jboss.solder.util.collections.WrappedList<K,V> collection)
Method Detail

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface ListIterator<V>

previous

public V previous()
Specified by:
previous in interface ListIterator<V>

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface ListIterator<V>

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface ListIterator<V>

set

public void set(V value)
Specified by:
set in interface ListIterator<V>

add

public void add(V value)
Specified by:
add in interface ListIterator<V>


Copyright © 2008-2011 Seam Framework. All Rights Reserved.