-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b51
-
generic
-
generic
The doc for CopyOnWriteArrayList.listIterator
/**
* Returns a ListIterator of the elements in this List (in proper
* sequence), starting at the specified position in the List. The
* specified index indicates the first element that would be returned by
* an initial call to nextElement. An initial call to previousElement
* would return the element with the specified index minus one.
* The ListIterator returned by this implementation will throw
* an UnsupportedOperationException in its remove, set and
* add methods.
*
is clearly incorrect because nextElement and previousElement are methods of
Enumeration, not ListIterator.
###@###.### 2005-05-16 00:04:40 GMT
/**
* Returns a ListIterator of the elements in this List (in proper
* sequence), starting at the specified position in the List. The
* specified index indicates the first element that would be returned by
* an initial call to nextElement. An initial call to previousElement
* would return the element with the specified index minus one.
* The ListIterator returned by this implementation will throw
* an UnsupportedOperationException in its remove, set and
* add methods.
*
is clearly incorrect because nextElement and previousElement are methods of
Enumeration, not ListIterator.
###@###.### 2005-05-16 00:04:40 GMT