test
Class TestMaps

java.lang.Object
  extended bytest.TestMaps

public class TestMaps
extends java.lang.Object


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

Field Detail

rand

java.util.Random rand
Constructor Detail

TestMaps

public TestMaps()
Method Detail

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)