Packagecom.ericfeminella.collections
Interfacepublic interface IEnumeration
ImplementorsStringTokenizer

Defines the contract for concrete Enumeration implementations which must provide an API for generating a series of elements from which each element can be accessed successively.



Public Methods
 MethodDefined by
  
hasMoreElements():Boolean
Determines if there are remaining elements in the object
IEnumeration
  
Retrieves the next element in the Enumeration.
IEnumeration
Method detail
hasMoreElements()method
public function hasMoreElements():Boolean

Determines if there are remaining elements in the object

Returns
Boolean — true if elements remain, otherwise false
nextElement()method 
public function nextElement():*

Retrieves the next element in the Enumeration. If no other elements exist a null value is returned or an exception is thrown

Returns
* — the next element in the enumeration