// ArrayEnumeration.java
// $Id: ArrayEnumeration.java,v 1.1 1997/07/21 21:55:30 eric Exp $
// (c) COPYRIGHT MIT and INRIA, 1996.
// Please first read the full copyright statement in file COPYRIGHT.html
package w3c.model.www.pep.altlib;
import java.util.* ;
/** Iterates through array skipping nulls. */
public class ArrayEnumeration implements Enumeration
private int nelems ;
private int elemCount ;
private int arrayIdx ;
private Object array ;[]
public ArrayEnumeration([[] ) {
this(array,array.length) ;
}
public ArrayEnumeration([[] ,arrayint