stopWatch.stop();
System.out.println("TObjectIntHashMap: " + stopWatch.totalTime() + ", " + stopWatch.totalTime().millisFrac() / ITERATIONS + "ms");
stopWatch = new StopWatch().start();
TObjectIntCustomHashMap<String> iMap = new TObjectIntCustomHashMap<String>(new StringIdentityHashingStrategy());
for (long iter = 0; iter < ITERATIONS; iter++) {
if (REUSE) {
iMap.clear();
} else {
iMap = new TObjectIntCustomHashMap<String>(new StringIdentityHashingStrategy());
}
for (long i = 0; i < PUT_OPERATIONS; i++) {
iMap.adjustOrPutValue(values[(int) (i % NUMBER_OF_KEYS)], 1, 1);
}
}