Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.togethersoft.openapi.util.enum
Class StringEnumerationAdapter

public class StringEnumerationAdapter
implements StringEnumeration

Minimal implementation enumeration of a `String`s.

Author:
  TogetherSoft

Constructor Summary
`StringEnumerationAdapter(Enumeration source)` Creates new enumeration of a `String`s from existing.

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`.

Constructor Detail

### StringEnumerationAdapter

    public StringEnumerationAdapter(Enumeration source)

  Creates new enumeration of a `String`s from existing.

Method Detail

### 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`.

Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD