int length = 100;
for (int i = 0; i < length; ++i) {
map.put(i*64, 100 + i);
}
HashSet<Integer> keySet = new HashSet<Integer>();
for (IntIterator iit = map.keyIterator(); iit.hasNext(); ) {
keySet.add(iit.next());
}
assertEquals(length, keySet.size());
for (int i = 0; i < length; ++i) {
assertTrue(keySet.contains(i * 64));