org.melati.poem.util
Class ArrayEnumeration<T>
java.lang.Object
  
org.melati.poem.util.ArrayEnumeration<T>
- All Implemented Interfaces: 
 - Enumeration<T>
 
public class ArrayEnumeration<T>
- extends Object
- implements Enumeration<T>
  
An Enumeration created from an Array.
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ArrayEnumeration
public ArrayEnumeration(T[] a)
- Constructor.
- Parameters:
 a - the Array to enumerate
 
hasMoreElements
public boolean hasMoreElements()
- 
- Specified by:
 hasMoreElements in interface Enumeration<T>
 
- See Also:
 Enumeration.hasMoreElements()
 
 
nextElement
public T nextElement()
- 
- Specified by:
 nextElement in interface Enumeration<T>
 
- See Also:
 Enumeration.nextElement()
 
 
Copyright © 2000-2010 PanEris. All Rights Reserved.