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 DoubleEnumeration

public class DoubleEnumeration
implements Enumeration

Presents two `Object`s as an enumeration.

Author:
  TogetherSoft

Constructor Summary
`DoubleEnumeration(Object value1, Object value2)` Creates new enumeration from existing `Object`s.

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

Constructor Detail

### DoubleEnumeration

    public DoubleEnumeration(Object value1, Object value2)

  Creates new enumeration from existing `Object`s. Sets enumeration counter to zero.
  Parameters:
    value1 - first `Object`.
    value2 - second `Object`.

Method Detail

### hasMoreElements

    public boolean hasMoreElements()

  Checks is there more elements.
  Returns: `true` if there is more elements, `false` otherwise.

### nextElement

    public Object nextElement()

  Returns next element from this 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