com.togethersoft.openapi.util.enum
Class StringEnumerationAdapter
- public class StringEnumerationAdapter
- implements StringEnumeration
Minimal implementation enumeration of a Strings.
- Author:
- TogetherSoft
- Since: Together 4.0
| Field Summary |
private Enumeration | mySource |
| Method Summary |
boolean | hasMoreElements() Checks is there more strings in this enumeration. |
Object | nextElement() Returns next element from enumeration as a Object. |
String | nextString() Returns next element from enumeration as a String. |
mySource
private Enumeration mySource
StringEnumerationAdapter
public StringEnumerationAdapter(Enumeration source)
- Creates new enumeration of a
Strings from existing.
hasMoreElements
public boolean hasMoreElements()
- Checks is there more strings in this enumeration.
- Returns:
true if there is, false else.
nextElement
public Object nextElement()
- Returns next element from enumeration as a
Object.- Returns: next element from enumeration as a
Object.
nextString
public String nextString()
- Returns next element from enumeration as a
String.- Returns: next element from enumeration as a
String.
to Class java.util.Enumeration