harpoon.Util
Class ArrayEnumerator
java.lang.Object
|
+--harpoon.Util.ArrayEnumerator
- All Implemented Interfaces:
- Enumeration
Deprecated. Use harpoon.Util.ArrayIterator instead.
- public class ArrayEnumerator
- extends Object
- implements Enumeration
An ArrayEnumerator
enumerates the elements of an array.
- Version:
- $Id: ArrayEnumerator.java,v 1.3 2002/02/25 21:08:44 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayEnumerator
public ArrayEnumerator(Object[] oa)
- Deprecated.
- Creates an
ArrayEnumerator
.
hasMoreElements
public boolean hasMoreElements()
- Deprecated.
- Specified by:
hasMoreElements
in interface Enumeration
nextElement
public Object nextElement()
- Deprecated.
- Specified by:
nextElement
in interface Enumeration