com.togethersoft.openapi.util.enum
Class LightEnumerationAdapter

Direct Known Subclasses:
CompositeEnumeration

public class LightEnumerationAdapter
implements Enumeration

Adapts light enumeration to stadard enumeration.

Author:
TogetherSoft

Constructor Summary
LightEnumerationAdapter(LightEnumeration enum)
           Creates new enumeration from existing.

Method Summary
 booleanhasMoreElements()
           Checks is there more elements after counter.
 ObjectnextElement()
           Return next element from enumeration as an Object.

Constructor Detail

LightEnumerationAdapter

public LightEnumerationAdapter(LightEnumeration enum)
Creates new enumeration from existing.
Parameters:
enum - Existing enumeration.
Method Detail

hasMoreElements

public boolean hasMoreElements()
Checks is there more elements after counter.
Returns: true if there is, false else.

nextElement

public Object nextElement()
Return next element from enumeration as an Object.

Association Links

to Class com.togethersoft.openapi.util.enum.LightEnumeration