| java.lang.Object uk.org.ponder.arrayutil.ArrayEnumeration
ArrayEnumeration | public class ArrayEnumeration implements Enumeration(Code) | | This utility class converts a Java array into an Enumeration.
|
Constructor Summary | |
public | ArrayEnumeration(Object[] array) Constructs an Enumeration from the specified array. | public | ArrayEnumeration(Object[] array, int index, int limit) Constructs an Enumeration from a portion of the supplied array. |
ArrayEnumeration | public ArrayEnumeration(Object[] array)(Code) | | Constructs an Enumeration from the specified array.
Parameters: array - The array to be converted into an enumeration, which may be null |
ArrayEnumeration | public ArrayEnumeration(Object[] array, int index, int limit)(Code) | | Constructs an Enumeration from a portion of the supplied array.
Parameters: array - The array of which a portion is to be made into an enumeration. Parameters: index - The index of the first array element to be returned from the enumeration. Parameters: limit - One more than the final array element to be returned from the enumeration. |
hasMoreElements | public boolean hasMoreElements()(Code) | | |
|
|