rice.pastry.testing
Class IdRangeUnit
java.lang.Object
rice.pastry.testing.IdRangeUnit
-
public class IdRangeUnit
- extends java.lang.Object
IdRangeUnit tests the IdRange class.
- Version:
- $Id: IdRangeUnit.java 2844 2005-12-15 13:07:05Z jeffh $
- Author:
- Peter Druschel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdRangeUnit
public IdRangeUnit()
createRandomIdRange
public IdRange createRandomIdRange()
-
createFullIdRange
public IdRange createFullIdRange()
-
createEmptyIdRange
public IdRange createEmptyIdRange()
-
createIdRangeStartingWith
public IdRange createIdRangeStartingWith(Id ccw)
-
createIdRangeEndingIn
public IdRange createIdRangeEndingIn(Id cw)
-
createIdWithPrefix
public Id createIdWithPrefix(byte b)
-
equalityTest
public void equalityTest(IdRange r1,
IdRange r2)
-
mergeIntersectTest
public void mergeIntersectTest(IdRange r1,
IdRange r2)
-
diffSubtractTest
public void diffSubtractTest(IdRange r1,
IdRange r2)
-
mergeTest
public void mergeTest(IdRange r1,
IdRange r2)
-
main
public static void main(java.lang.String[] args)
-
Copyright © 2001-2005 - Rice Pastry.