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 FilterEnumeration

public class FilterEnumeration
implements Enumeration

Presents enumeration with filter which is a specified unary operation.

Author:
  TogetherSoft

Constructor Summary
`FilterEnumeration(Enumeration source, UnaryOperation filter)` Creates new enumeration from exists and specifies filter for enumeration.

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

Constructor Detail

### FilterEnumeration

    public FilterEnumeration(Enumeration source, UnaryOperation filter)

  Creates new enumeration from exists and specifies filter for enumeration.

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 `Object` proceeded by unary operation.
  Returns: `Object` proceeded by unary operation.

Association Links

to Class com.togethersoft.openapi.util.function.UnaryOperation

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