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>

Constructor Summary
ArrayEnumerator(Object[] oa)
          Deprecated. Creates an ArrayEnumerator.
 
Method Summary
 boolean hasMoreElements()
          Deprecated.  
 Object nextElement()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayEnumerator

public ArrayEnumerator(Object[] oa)
Deprecated. 
Creates an ArrayEnumerator.

Method Detail

hasMoreElements

public boolean hasMoreElements()
Deprecated. 
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
Deprecated. 
Specified by:
nextElement in interface Enumeration