// Test Mhash
System.out.println("Testing Mhash");
//Mhash<int,string,Hashfn2> person(100,100);
Mhash<Integer,String> person = new Mhash<Integer,String>(100,100){
Hashfn2 hashfn2 = new Hashfn2();
public long fn(Integer k){
int kk = k;
byte[] b = new byte[4];
b[0] = (byte)(kk >>>24);
b[1] = (byte)(kk >>>16);
b[2] = (byte)(kk >>>8);
b[3] = (byte)kk;
return hashfn2.fn(b);
}
};
for (i=0;i<N;i++) person.store(dates[i],names[i]);