com.objectwave.utility
Class ArrayEnumeration
java.lang.Object
|
+--com.objectwave.utility.ArrayEnumeration
- All Implemented Interfaces:
- java.util.Enumeration
- public class ArrayEnumeration
- extends java.lang.Object
- implements java.util.Enumeration
This is a handy class to perform an enumeration over any object array. Note
that this enumeration class will not work with any arrays of primitive type
(int, double, byte, etc) since they do not extend java.lang.Object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayEnumeration
public ArrayEnumeration(java.lang.Object[] array)
setDisplayFormatter
public void setDisplayFormatter(StringifyIF formater)
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