com.togethersoft.openapi.util.enum
Class LightEnumerationAdapter
- Direct Known Subclasses:
- CompositeEnumeration
- public class LightEnumerationAdapter
- implements Enumeration
Adapts light enumeration to stadard enumeration.
- Author:
- TogetherSoft
- Since: Together 4.0
| Method Summary |
boolean | hasMoreElements() Checks is there more elements after counter. |
private void | next() |
Object | nextElement() Return next element from enumeration as an Object. |
myCurrent
private Object myCurrent
myEnum
private LightEnumeration myEnum
LightEnumerationAdapter
public LightEnumerationAdapter(LightEnumeration enum)
- Creates new enumeration from existing.
- Parameters:
- enum Existing enumeration.
hasMoreElements
public boolean hasMoreElements()
- Checks is there more elements after counter.
- Returns:
true if there is, false else.
next
private void next()
nextElement
public Object nextElement()
- Return next element from enumeration as an
Object.
to Class com.togethersoft.openapi.util.enum.LightEnumeration
to Class java.lang.Object