| java.lang.Object org.jfree.report.util.ArrayEnumeration
ArrayEnumeration | public class ArrayEnumeration implements Enumeration(Code) | | An enumeration that iterates over an array.
author: Thomas Morgner |
Constructor Summary | |
public | ArrayEnumeration(Object[] objectarray) Creates a new enumeration for the given array. |
Method Summary | |
public boolean | hasMoreElements() Returns true if this enumeration has at least one more Element. | public Object | nextElement() Returns the next element in the Array. |
ArrayEnumeration | public ArrayEnumeration(Object[] objectarray)(Code) | | Creates a new enumeration for the given array.
Parameters: objectarray - the array over which to iterate throws: NullPointerException - if the array is null. |
hasMoreElements | public boolean hasMoreElements()(Code) | | Returns true if this enumeration has at least one more Element.
true, if there are more elements, false otherwise. |
nextElement | public Object nextElement()(Code) | | Returns the next element in the Array.
the next element in the array. throws: NoSuchElementException - if no more elements exist. |
|
|