}
assertTrue(Arrays.equals(r, new Integer[] {2, 4, 6, 8, 10, 12, 14, null} ));
i = 0;
IntKeyValueIterator it = ia.keyValueIterator();
assertTrue(it.isValid());
it.dec();
assertFalse(it.isValid());
it.inc();
assertFalse(it.isValid());
it.moveToLast();
assertTrue(it.isValid());
it.inc();
assertFalse(it.isValid());
// it.dec(); // causes infinite loop
// assertFalse(it.isValid());
}