for (Integer i : vs) {
ia.put(i, i * 2);
}
Integer[] r = new Integer[vs.length];
int i = 0;
IntListIterator itl = ia.keyIterator();
while(itl.hasNext()){
r[i++] = itl.next();
}
assertEquals(i, vs.length - 1);
assertTrue(Arrays.equals(r, new Integer[] {1, 2, 3, 4, 5, 6, 7, null}));
i = 0;