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 Enumeration
public Object nextElement()
nextElement
in interface Enumeration
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.