public virtual void TestIteratorGoesForwards() { IntArrayList list = new IntArrayList(); AssertIterator(new int[] { }, list.IntIterator()); list.Add(1); AssertIterator(new int[] { 1 }, list.IntIterator()); list.Add(2); AssertIterator(new int[] { 1, 2 }, list.IntIterator()); }
public override IIntIterator4 IterateIDs() { return(_ids.IntIterator()); }