|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.util.testing.RedBlackMapUnit
DESCRIBE THE CLASS
Constructor Summary | |
RedBlackMapUnit()
|
Method Summary | |
protected static int |
getIndex(Id id,
Id[] sorted)
Gets the Index attribute of the RedBlackMapUnit class |
static void |
main(java.lang.String[] args)
The main program for the RedBlackMapUnit class |
protected static void |
printMap(Id[] id)
DESCRIBE THE METHOD |
protected static void |
printMap(java.util.SortedMap map)
DESCRIBE THE METHOD |
protected static void |
testHeadMap(Id head,
Id[] sorted,
java.util.SortedMap sub)
A unit test for JUnit |
protected static void |
testNormalSubMap(Id from,
Id to,
Id[] sorted,
java.util.SortedMap sub)
A unit test for JUnit |
protected static void |
testRemove(java.util.SortedMap map)
A unit test for JUnit |
protected static void |
testRemove(java.util.SortedMap map,
Id[] sorted,
Id remove)
A unit test for JUnit |
protected static void |
testSortedMap(int iterations,
java.util.SortedMap map,
IdFactory factory,
RandomSource random,
int depth)
A unit test for JUnit |
protected static void |
testTailMap(Id tail,
Id[] sorted,
java.util.SortedMap sub)
A unit test for JUnit |
protected static void |
testWrappedSubMap(Id from,
Id to,
Id[] sorted,
java.util.SortedMap sub)
A unit test for JUnit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RedBlackMapUnit()
Method Detail |
protected static int getIndex(Id id, Id[] sorted)
id
- DESCRIBE THE PARAMETERsorted
- DESCRIBE THE PARAMETER
public static void main(java.lang.String[] args)
args
- The command line argumentsprotected static void testRemove(java.util.SortedMap map)
map
- DESCRIBE THE PARAMETERprotected static void testRemove(java.util.SortedMap map, Id[] sorted, Id remove)
map
- DESCRIBE THE PARAMETERsorted
- DESCRIBE THE PARAMETERremove
- DESCRIBE THE PARAMETERprotected static void printMap(Id[] id)
id
- DESCRIBE THE PARAMETERprotected static void printMap(java.util.SortedMap map)
map
- DESCRIBE THE PARAMETERprotected static void testSortedMap(int iterations, java.util.SortedMap map, IdFactory factory, RandomSource random, int depth)
iterations
- DESCRIBE THE PARAMETERmap
- DESCRIBE THE PARAMETERfactory
- DESCRIBE THE PARAMETERrandom
- DESCRIBE THE PARAMETERdepth
- DESCRIBE THE PARAMETERprotected static void testHeadMap(Id head, Id[] sorted, java.util.SortedMap sub)
head
- DESCRIBE THE PARAMETERsorted
- DESCRIBE THE PARAMETERsub
- DESCRIBE THE PARAMETERprotected static void testTailMap(Id tail, Id[] sorted, java.util.SortedMap sub)
tail
- DESCRIBE THE PARAMETERsorted
- DESCRIBE THE PARAMETERsub
- DESCRIBE THE PARAMETERprotected static void testNormalSubMap(Id from, Id to, Id[] sorted, java.util.SortedMap sub)
from
- DESCRIBE THE PARAMETERto
- DESCRIBE THE PARAMETERsorted
- DESCRIBE THE PARAMETERsub
- DESCRIBE THE PARAMETERprotected static void testWrappedSubMap(Id from, Id to, Id[] sorted, java.util.SortedMap sub)
from
- DESCRIBE THE PARAMETERto
- DESCRIBE THE PARAMETERsorted
- DESCRIBE THE PARAMETERsub
- DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |