org.openide.util.Enumerations#array.public class ArrayEnumeration extends Object implements Enumeration
| Constructor and Description |
|---|
ArrayEnumeration(Object[] array)
Deprecated.
Constructs a new ArrayEnumeration for specified array
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements()
Deprecated.
Tests if this enumeration contains more elements.
|
Object |
nextElement()
Deprecated.
Returns the next element of this enumeration.
|
public ArrayEnumeration(Object[] array)
public boolean hasMoreElements()
hasMoreElements in interface Enumerationtrue if this enumeration contains more elements;
false otherwise.public Object nextElement()
nextElement in interface EnumerationNoSuchElementException - if no more elements exist.Built on June 18 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.