org.millscript.millscript.tools
Class ArrayIterator

java.lang.Object
  extended by org.millscript.millscript.tools.ArrayIterator
All Implemented Interfaces:
java.util.Iterator

Deprecated. As of MillScript 10.2.0, this functionallity has been subsumed by the MillScript-Util project and it's Map API, see ArrayListIterator.

@Deprecated
public class ArrayIterator
extends java.lang.Object
implements java.util.Iterator

This class implements an iterator which iterates over all the values in an array.


Constructor Summary
ArrayIterator(java.lang.Object[] array)
          Deprecated. Constructs a new array iterator to iterate over all the values in the specified array.
 
Method Summary
 boolean hasNext()
          Deprecated.  
 java.lang.Object next()
          Deprecated.  
 void remove()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayIterator

public ArrayIterator(java.lang.Object[] array)
Deprecated. 
Constructs a new array iterator to iterate over all the values in the specified array.

Parameters:
array - the array to iterate over
Method Detail

remove

public void remove()
Deprecated. 
Specified by:
remove in interface java.util.Iterator
See Also:
Iterator.remove()

hasNext

public boolean hasNext()
Deprecated. 
Specified by:
hasNext in interface java.util.Iterator
See Also:
Iterator.hasNext()

next

public java.lang.Object next()
Deprecated. 
Specified by:
next in interface java.util.Iterator
See Also:
Iterator.next()


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.