public class ArrayEnumeration extends Object implements Enumeration
Constructor and Description |
---|
ArrayEnumeration(Object[] array)
Constructs an enumeration by wrapping an array.
|
public ArrayEnumeration(Object[] array)
array
- the underlying array that is wrappedpublic final boolean hasMoreElements()
hasMoreElements
in interface Enumeration
public Object nextElement()
nextElement
in interface Enumeration
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.