Bali Share 1.1.18

oracle.bali.share.collection
Class ArrayEnumeration

java.lang.Object
  |
  +--oracle.bali.share.collection.ArrayEnumeration
All Implemented Interfaces:
java.util.Enumeration

public class ArrayEnumeration
extends java.lang.Object
implements java.util.Enumeration

Enumeration that enumerates the contents of an array. The input array is NOT copied. The methods of this class are not synchronized, so the Enumeration instance should not be shared across threads.


Constructor Summary
ArrayEnumeration(java.lang.Object[] items)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayEnumeration

public ArrayEnumeration(java.lang.Object[] items)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

Bali Share 1.1.18