public class ArrayEnumeration extends Object implements Enumeration
| Constructor and Description |
|---|
ArrayEnumeration(Object[] array)
Constructs an enumeration by wrapping an array.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
Object |
nextElement() |
public ArrayEnumeration(Object[] array)
array - the underlying array that is wrappedpublic final boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic Object nextElement()
nextElement in interface EnumerationCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.