org.jscience.architecture.traffic.util
Class ArrayEnumeration

java.lang.Object
  extended by org.jscience.architecture.traffic.util.ArrayEnumeration
All Implemented Interfaces:
java.util.Enumeration

public class ArrayEnumeration
extends java.lang.Object
implements java.util.Enumeration

This enumeration can walk 1 or 2 dimensional arrays


Constructor Summary
ArrayEnumeration(java.lang.Object[] _ar)
          Creates a new ArrayEnumeration object.
ArrayEnumeration(java.lang.Object[][] _ar)
          Creates a new ArrayEnumeration object.
ArrayEnumeration(java.lang.Object[] _ar1, java.lang.Object[] _ar2)
          Creates a new ArrayEnumeration object.
 
Method Summary
 boolean hasMoreElements()
          DOCUMENT ME!
 java.lang.Object nextElement()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayEnumeration

public ArrayEnumeration(java.lang.Object[] _ar)
Creates a new ArrayEnumeration object.

Parameters:
_ar - DOCUMENT ME!

ArrayEnumeration

public ArrayEnumeration(java.lang.Object[][] _ar)
Creates a new ArrayEnumeration object.

Parameters:
_ar - DOCUMENT ME!

ArrayEnumeration

public ArrayEnumeration(java.lang.Object[] _ar1,
                        java.lang.Object[] _ar2)
Creates a new ArrayEnumeration object.

Parameters:
_ar1 - DOCUMENT ME!
_ar2 - DOCUMENT ME!
Method Detail

hasMoreElements

public boolean hasMoreElements()
DOCUMENT ME!

Specified by:
hasMoreElements in interface java.util.Enumeration
Returns:
DOCUMENT ME!

nextElement

public java.lang.Object nextElement()
                             throws java.util.NoSuchElementException
DOCUMENT ME!

Specified by:
nextElement in interface java.util.Enumeration
Returns:
DOCUMENT ME!
Throws:
java.util.NoSuchElementException - DOCUMENT ME!