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

Constructor Index

 o ArrayEnumeration(Object[], int)
Creates a new ArrayEnumeration.

Method Index

 o hasMoreElements()
Are there more elements?
 o nextElement()
Return the next element.

Constructors

 o ArrayEnumeration
 public ArrayEnumeration(Object array[],
                         int length)
Creates a new ArrayEnumeration.

Parameters:
arry - the array

Methods

 o hasMoreElements
 public boolean hasMoreElements()
Are there more elements?

Returns:
true if there are more elements
 o nextElement
 public synchronized Object nextElement()
Return the next element.

Returns:
the next element.

All Packages  Class Hierarchy  This Package  Previous  Next  Index