|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.pastry.testing.IdRangeUnit
IdRangeUnit tests the IdRange class.
Constructor Summary | |
IdRangeUnit()
Constructor for IdRangeUnit. |
Method Summary | |
IdRange |
createEmptyIdRange()
DESCRIBE THE METHOD |
IdRange |
createFullIdRange()
DESCRIBE THE METHOD |
IdRange |
createIdRangeEndingIn(Id cw)
DESCRIBE THE METHOD |
IdRange |
createIdRangeStartingWith(Id ccw)
DESCRIBE THE METHOD |
Id |
createIdWithPrefix(byte b)
DESCRIBE THE METHOD |
IdRange |
createRandomIdRange()
DESCRIBE THE METHOD |
void |
diffSubtractTest(IdRange r1,
IdRange r2)
DESCRIBE THE METHOD |
void |
equalityTest(IdRange r1,
IdRange r2)
DESCRIBE THE METHOD |
static void |
main(java.lang.String[] args)
DESCRIBE THE METHOD |
void |
mergeIntersectTest(IdRange r1,
IdRange r2)
DESCRIBE THE METHOD |
void |
mergeTest(IdRange r1,
IdRange r2)
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IdRangeUnit()
Method Detail |
public IdRange createRandomIdRange()
public IdRange createFullIdRange()
public IdRange createEmptyIdRange()
public IdRange createIdRangeStartingWith(Id ccw)
ccw
- DESCRIBE THE PARAMETER
public IdRange createIdRangeEndingIn(Id cw)
cw
- DESCRIBE THE PARAMETER
public Id createIdWithPrefix(byte b)
b
- DESCRIBE THE PARAMETER
public void equalityTest(IdRange r1, IdRange r2)
r1
- DESCRIBE THE PARAMETERr2
- DESCRIBE THE PARAMETERpublic void mergeIntersectTest(IdRange r1, IdRange r2)
r1
- DESCRIBE THE PARAMETERr2
- DESCRIBE THE PARAMETERpublic void diffSubtractTest(IdRange r1, IdRange r2)
r1
- DESCRIBE THE PARAMETERr2
- DESCRIBE THE PARAMETERpublic void mergeTest(IdRange r1, IdRange r2)
r1
- DESCRIBE THE PARAMETERr2
- DESCRIBE THE PARAMETERpublic static void main(java.lang.String[] args)
args
- DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |