WebObjects 5.4.2

com.webobjects.foundation
Class NSMutableArray.MutableArrayListIterator

java.lang.Object
  extended by com.webobjects.foundation.NSMutableArray.MutableArrayListIterator
All Implemented Interfaces:
Iterator, ListIterator
Enclosing class:
NSMutableArray

public class NSMutableArray.MutableArrayListIterator
extends Object
implements ListIterator

See Also:
NSMutableArray.listIterator(), NSMutableArray.listIterator(int)

Constructor Summary
NSMutableArray.MutableArrayListIterator(Object[] array, int count)
           
NSMutableArray.MutableArrayListIterator(Object[] array, int count, int index)
           
 
Method Summary
 void add(Object element)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 Object next()
           
 int nextIndex()
           
 Object previous()
           
 int previousIndex()
           
 void remove()
           
 void set(Object element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NSMutableArray.MutableArrayListIterator

public NSMutableArray.MutableArrayListIterator(Object[] array,
                                               int count)
Parameters:
array -
count -

NSMutableArray.MutableArrayListIterator

public NSMutableArray.MutableArrayListIterator(Object[] array,
                                               int count,
                                               int index)
Parameters:
array -
count -
index -
Method Detail

add

public void add(Object element)
Specified by:
add in interface ListIterator

set

public void set(Object element)
Specified by:
set in interface ListIterator

remove

public void remove()
Specified by:
remove in interface Iterator
Specified by:
remove in interface ListIterator

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface ListIterator

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface ListIterator

previous

public Object previous()
Specified by:
previous in interface ListIterator

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface ListIterator

next

public Object next()
Specified by:
next in interface Iterator
Specified by:
next in interface ListIterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator
Specified by:
hasNext in interface ListIterator

Last updated June 2008

Copyright © 2000-2008 Apple Inc.