|
Qizx/Open v0.4p2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.xfra.qizxopen.util.IdSet
An abstract set of identifiers (positive integers).
| Constructor Summary | |
IdSet()
|
|
| Method Summary | |
abstract IdSet |
copy()
|
abstract int |
getNext(int id)
Iteration mechanism: returns the first id in the set that is >= to argument. |
boolean |
intersects(IdSet that)
returns true if the intersection of the two sets is not empty. |
boolean |
isEmpty()
|
abstract boolean |
test(int id)
Identifier containment test. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IdSet()
| Method Detail |
public abstract boolean test(int id)
public abstract int getNext(int id)
public boolean isEmpty()
public boolean intersects(IdSet that)
public abstract IdSet copy()
|
Copyright Xavier FRANC 2003-2004 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||