factory.registerActorFactory(intListFactory);
BListJid intList1 = (BListJid) factory.newActor("il");
int i = 0;
while (i < 41) {
intList1.iAdd(-1);
IntegerJid ij0 = (IntegerJid) intList1.iGet(-1);
ij0.setValue(i);
i += 1;
}
i = 0;
while (i < 41) {
IntegerJid ij = (IntegerJid) intList1.iGet(i);
assertEquals(i, (int) ij.getValue());
i += 1;
}
} catch (Exception e) {
e.printStackTrace();
} finally {