Fixed previousIndex() and nextIndex() methods in ArrayListIterator and ObjectArrayListIterator to conform to ListIterator interface specification.
Modified ObjectArrayIterator constructor to throw ArrayOutOfBoundsException when start index is out of range (as advertised).
Added test cases to TestIteratorUtils.
|