org.apache.commons.collections
Class ArrayEnumeration
java.lang.Object
org.apache.commons.collections.ArrayEnumeration
- All Implemented Interfaces:
- java.util.Enumeration
Deprecated. This class has significant overlap with ArrayIterator, and Collections focuses mainly on Java2-style collections. If you need to enumerate an array, create an ArrayIterator and wrap it with an IteratorEnumeration instead.
- public final class ArrayEnumeration
- extends java.lang.Object
- implements java.util.Enumeration
Enumeration wrapper for array.
- Since:
- 1.0
- Author:
| Field Summary |
protected java.lang.Object[] |
m_elements
Deprecated. |
protected int |
m_index
Deprecated. |
| 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
-
Deprecated.
m_index
protected int m_index
-
Deprecated.
ArrayEnumeration
public ArrayEnumeration(java.util.List elements)
- Deprecated.
ArrayEnumeration
public ArrayEnumeration(java.lang.Object[] elements)
- Deprecated.
hasMoreElements
public boolean hasMoreElements()
- Deprecated.
-
- Specified by:
hasMoreElements in interface java.util.Enumeration
-
nextElement
public java.lang.Object nextElement()
- Deprecated.
-
- Specified by:
nextElement in interface java.util.Enumeration
-
Please see keelframework.org for information about new Keel releases.