test
Class TestMaps
java.lang.Object
test.TestMaps
- public class TestMaps
- extends java.lang.Object
Field Summary |
(package private) java.util.Random |
rand
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rand
java.util.Random rand
TestMaps
public TestMaps()
testRandom
public void testRandom(long n)
testHashMap
public void testHashMap(long n)
- Test hashmap: creation et lecture
testSortedHashMap
public void testSortedHashMap(long n)
testSortedMap
public void testSortedMap(long n)
testTreeHashMap
public void testTreeHashMap()
getRandomString
public java.lang.String getRandomString(int minlg,
int maxlg)
- Calcule une chaine aleatoire
getKeyValuePair
public Pair getKeyValuePair()
- Retourne une paire aleatoire cle/valeur
main
public static void main(java.lang.String[] args)