All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----Acme.ArrayEnumerator
Vectors come with a method to make an Enumeration, but if you're using arrays instead of Vectors you don't get that. Instead you can use this class to make an Enumeration for any array of Objects. It returns the contents of the array in order, optionally skipping any null elements.
Fetch the software.
Fetch the entire Acme package.
public ArrayEnumerator(Object objects[])ArrayEnumerator
public ArrayEnumerator(Object objects[], boolean skipNulls)
public boolean hasMoreElements()nextElement
public Object nextElement()
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs