org.zkoss.util
Class CollectionsX.ArrayListIterator<E>

java.lang.Object
  extended by org.zkoss.util.CollectionsX.ArrayIterator<E>
      extended by org.zkoss.util.CollectionsX.ArrayListIterator<E>
All Implemented Interfaces:
java.util.Iterator<E>, java.util.ListIterator<E>
Enclosing class:
CollectionsX

public static class CollectionsX.ArrayListIterator<E>
extends CollectionsX.ArrayIterator<E>
implements java.util.ListIterator<E>


Constructor Summary
CollectionsX.ArrayListIterator(E[] ary, int index)
           
CollectionsX.ArrayListIterator(java.lang.Object[] ary)
           
 
Method Summary
 void add(E o)
           
 boolean hasPrevious()
           
 int nextIndex()
           
 E previous()
           
 int previousIndex()
           
 void set(E o)
           
 
Methods inherited from class org.zkoss.util.CollectionsX.ArrayIterator
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

CollectionsX.ArrayListIterator

public CollectionsX.ArrayListIterator(java.lang.Object[] ary)
Parameters:
ary - an array or null.

CollectionsX.ArrayListIterator

public CollectionsX.ArrayListIterator(E[] ary,
                                      int index)
Parameters:
ary - an array or null.
Method Detail

hasPrevious

public final boolean hasPrevious()
Specified by:
hasPrevious in interface java.util.ListIterator<E>

previous

public final E previous()
Specified by:
previous in interface java.util.ListIterator<E>

nextIndex

public final int nextIndex()
Specified by:
nextIndex in interface java.util.ListIterator<E>

previousIndex

public final int previousIndex()
Specified by:
previousIndex in interface java.util.ListIterator<E>

set

public final void set(E o)
Specified by:
set in interface java.util.ListIterator<E>

add

public final void add(E o)
Specified by:
add in interface java.util.ListIterator<E>


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo