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 OrderedDiffEnumeration

public class OrderedDiffEnumeration
implements Enumeration

Represents enumeration constructed from two others. This enumeration contains all elements from original except which equals to elements from secondary enumeration. Comparision is produced by specified Comparator by the order.

Author:
  TogetherSoft

Constructor Summary
`OrderedDiffEnumeration(Enumeration orig, Enumeration sub, Comparator comparator)` Initialize new OrderedDiffEnumeration.

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

Constructor Detail

### OrderedDiffEnumeration

    public OrderedDiffEnumeration(Enumeration orig, Enumeration sub, Comparator comparator)

  Initialize new OrderedDiffEnumeration.
  Parameters:
    orig - Original enumeration
    sub - Secondary enumeration
    comparator - Object of class which implements java.util.Comparator interface

Method Detail

### hasMoreElements

    public boolean hasMoreElements()

  Checks is there more elements in enumeration.

### nextElement

    public Object nextElement()

  Returns next differed element from this enumeratio.

Association Links

to Class java.util.Comparator

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