org.apache.avalon.excalibur.collections
Class ArrayEnumeration
java.lang.Object
|
+--org.apache.avalon.excalibur.collections.ArrayEnumeration
- All Implemented Interfaces:
- java.util.Enumeration
- public final class ArrayEnumeration
- extends java.lang.Object
- implements java.util.Enumeration
Enumeration wrapper for array.
- Since:
- 4.0
- Version:
- CVS $Revision: 1.4 $ $Date: 2001/12/11 09:53:26 $
- Author:
- Peter Donald
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_elements
protected java.lang.Object[] m_elements
m_index
protected int m_index
ArrayEnumeration
public ArrayEnumeration(java.util.List elements)
ArrayEnumeration
public ArrayEnumeration(java.lang.Object[] elements)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface java.util.Enumeration
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement
in interface java.util.Enumeration
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.