| java.lang.Object rcm.enum.ArrayEnumeration
ArrayEnumeration | public class ArrayEnumeration implements Enumeration(Code) | | Enumeration of an arbitrary array.
|
Constructor Summary | |
public | ArrayEnumeration(Object[] array) Make an ArrayEnumeration.
Parameters: array - Array to enumerate. |
ArrayEnumeration | public ArrayEnumeration(Object[] array)(Code) | | Make an ArrayEnumeration.
Parameters: array - Array to enumerate. May be null, if desired. (This is sometimes useful for producing an empty enumeration.) |
hasMoreElements | public boolean hasMoreElements()(Code) | | Test if enumeration has reached end.
true if more elements are available to be enumerated, falseif all elements have been yielded by nextElement() |
|
|