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 ArrayEnumeration

public class ArrayEnumeration
implements Enumeration

Presents array of Objects as an enumeration.

Author:
  TogetherSoft

Constructor Summary
`ArrayEnumeration(Object[] array)` Creates new enumeration from existing array.

Method Summary
`boolean` | `hasMoreElements()` Checks is there more elements in enumeration.
`Object` | `nextElement()` Returns next elements from enumeration.

Constructor Detail

### ArrayEnumeration

    public ArrayEnumeration(Object[] array)

  Creates new enumeration from existing array.
  Parameters:
    array - Existing array of `Object`s.

Method Detail

### hasMoreElements

    public boolean hasMoreElements()

  Checks is there more elements in enumeration.
  Returns: `true` if there is, `false` else.

### nextElement

    public Object nextElement()

  Returns next elements from enumeration.
  Returns: `Object`, if there is element, `null` otherwise.

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