Overview | Package | Class | Tree | Deprecated | Index | Help
| Qizx/Open v0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.xfra.qizxopen.util
Class DifferenceIdSet

    java.lang.Object
      |
      +--net.xfra.qizxopen.util.IdSet
            |
            +--net.xfra.qizxopen.util.DifferenceIdSet

public class DifferenceIdSet
extends IdSet

An IdSet that is the difference between a main set and a list of excluded sets.

Constructor Summary
`DifferenceIdSet(IdSet main, IdSet[] excluded)`

Method Summary
`IdSet` | `copy()`
`int` | `getNext(int id)` Iteration mechanism: returns the first id in the set that is >= to argument.
`boolean` | `test(int id)` Identifier containment test.

Methods inherited from class net.xfra.qizxopen.util.IdSet
`intersects, isEmpty`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DifferenceIdSet

    public DifferenceIdSet(IdSet main,
                           IdSet[] excluded)

Method Detail

### test

    public boolean test(int id)

  Description copied from class: `IdSet`
  Identifier containment test.

  Specified by:
    `test` in class `IdSet`

### getNext

    public int getNext(int id)

  Description copied from class: `IdSet`
  Iteration mechanism: returns the first id in the set that is >= to argument.

  Specified by:
    `getNext` in class `IdSet`
  Returns:
    -1 if no next id.

### copy

    public IdSet copy()

  Specified by:
    `copy` in class `IdSet`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright Xavier FRANC 2003-2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD