5152535455565758596061
Hashtable<atom> hash = new Hashtable<atom>(N,2*N){ Hashfn2 hashfn2 = new Hashfn2(); public long fn(atom k) { return hashfn2.fn(k.toByte()); } }; // Test simple iset(), iget() i=hash.iset(chart[5]);
4546474849505152535455
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]);
3435363738394041424344
System.out.println("Testing Hash"); Hash<String,Integer> year = new Hash<String,Integer>(100,100){ Hashfn2 hashfn2 = new Hashfn2(); public long fn(String k){ return hashfn2.fn(k.getBytes()); } }; // Test operator[] for (i=0;i<N;i++)