All Packages Class Hierarchy This Package Previous Next Index
Class iaik.utils.ArrayEnumeration
java.lang.Object
|
+----iaik.utils.ArrayEnumeration
- public class ArrayEnumeration
- extends Object
- implements Enumeration
This class implements a simple Enumeration over an array.
- See Also:
- Enumeration
-
ArrayEnumeration(Object[], int)
- Creates a new ArrayEnumeration.
-
hasMoreElements()
- Are there more elements?
-
nextElement()
- Return the next element.
ArrayEnumeration
public ArrayEnumeration(Object array[],
int length)
- Creates a new ArrayEnumeration.
- Parameters:
- arry - the array
hasMoreElements
public boolean hasMoreElements()
- Are there more elements?
- Returns:
- true if there are more elements
nextElement
public synchronized Object nextElement()
- Return the next element.
- Returns:
- the next element.
All Packages Class Hierarchy This Package Previous Next Index