Re: 8311517: Adapt ArrayList Javadoc for sequenced collections

2023-07-20 Thread Daniel Schmid
I could create a PR for this if wanted. I would suggest changing > The size, isEmpty, get, set, iterator, and listIterator operations run in constant time. The add operation runs in amortized constant time, that is, adding n elements requires O(n) time. All of the other operations run in line

Re: Adapt ArrayList Javadoc for sequenced collections

2023-07-05 Thread Roger Riggs
Hi Daniel, Core-libs-dev is indeed the correct alias for this documentation issue. Create an issue to track: JDK-8311517 Regards, Roger On 7/1/23 3:35 PM, Daniel Schmid wrote: The JEP for sequenced collection (https://openjdk.org/jeps/431) would

Adapt ArrayList Javadoc for sequenced collections

2023-06-10 Thread Daniel Schmid
Dear members of the core-libs-dev mailing list, The JEP for sequenced collection (https://openjdk.org/jeps/431) would add addFirst(), removeFirst() and reversed() methods to lists. However, the Javadoc of List mentions: > The size, isEmpty, get, set, iterator, and listIterator operations run i