public class ArrayEnumeration<T> extends Object implements Enumeration<T>
Enumeration created from an Array.| Constructor and Description |
|---|
ArrayEnumeration(T[] a)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
T |
nextElement() |
public ArrayEnumeration(T[] a)
a - the Array to enumeratepublic boolean hasMoreElements()
hasMoreElements in interface Enumeration<T>Enumeration.hasMoreElements()public T nextElement()
nextElement in interface Enumeration<T>Enumeration.nextElement()Copyright © 2000–2021 PanEris. All rights reserved.