org.apache.commons.collections
Class ArrayEnumeration

java.lang.Object
  |
  +--org.apache.commons.collections.ArrayEnumeration
All Implemented Interfaces:
Enumeration

public final class ArrayEnumeration
extends Object
implements Enumeration

Enumeration wrapper for array.

Author:
Peter Donald

Constructor Summary
ArrayEnumeration(List elements)
           
ArrayEnumeration(Object[] elements)
           
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayEnumeration

public ArrayEnumeration(List elements)

ArrayEnumeration

public ArrayEnumeration(Object[] elements)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration


Copyright © 2001 Apache Software Foundation. Documenation generated July 14 2001.