jodd.util.collection
Class ArrayEnumeration<E>
java.lang.Object
jodd.util.collection.ArrayEnumeration<E>
- All Implemented Interfaces:
- java.io.Serializable, java.util.Enumeration<E>
public class ArrayEnumeration<E>
- extends java.lang.Object
- implements java.util.Enumeration<E>, java.io.Serializable
Enumeration over an array.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayEnumeration
public ArrayEnumeration(E[] arr)
ArrayEnumeration
public ArrayEnumeration(E[] arr,
int offset,
int length)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements in interface java.util.Enumeration<E>
nextElement
public E nextElement()
throws java.util.NoSuchElementException
- Specified by:
nextElement in interface java.util.Enumeration<E>
- Throws:
java.util.NoSuchElementException
Copyright © 2003-2012 Jodd Team