Keel 2.1RC2

org.apache.commons.collections
Class ArrayEnumeration

java.lang.Object
  extended byorg.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.  
 
Constructor Summary
ArrayEnumeration(java.util.List elements)
          Deprecated.  
ArrayEnumeration(java.lang.Object[] elements)
          Deprecated.  
 
Method Summary
 boolean hasMoreElements()
          Deprecated.  
 java.lang.Object nextElement()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_elements

protected java.lang.Object[] m_elements
Deprecated. 

m_index

protected int m_index
Deprecated. 
Constructor Detail

ArrayEnumeration

public ArrayEnumeration(java.util.List elements)
Deprecated. 

ArrayEnumeration

public ArrayEnumeration(java.lang.Object[] elements)
Deprecated. 
Method Detail

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

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.