org.zkoss.util
Class CollectionsX.ArrayListIterator

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

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


Constructor Summary
CollectionsX.ArrayListIterator(java.lang.Object[] ary)
           
CollectionsX.ArrayListIterator(java.lang.Object[] ary, int index)
           
 
Method Summary
 void add(java.lang.Object o)
           
 boolean hasPrevious()
           
 int nextIndex()
           
 java.lang.Object previous()
           
 int previousIndex()
           
 void set(java.lang.Object 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(java.lang.Object[] ary,
                                      int index)
Parameters:
ary - an array or null.
Method Detail

hasPrevious

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

previous

public final java.lang.Object previous()
Specified by:
previous in interface java.util.ListIterator

nextIndex

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

previousIndex

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

set

public final void set(java.lang.Object o)
Specified by:
set in interface java.util.ListIterator

add

public final void add(java.lang.Object o)
Specified by:
add in interface java.util.ListIterator


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