public IntKeyIntChainedHashMapBenchmark() {
super(
new IntKeyIntMapFactory() {
public IntKeyIntMap create(int[] keys, int[] values) {
IntKeyIntMap m = new IntKeyIntChainedHashMap();
for (int i = 0; i < keys.length; i++)
m.put(keys[i], values[i]);
return m;
}
}
);
}