On Wed, 26 Jul 2023 11:02:20 GMT, dan1st wrote:
> The [JEP for sequenced collections](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, a
On Fri, 4 Aug 2023 15:31:59 GMT, Brian Burkhalter wrote:
>> dan1st has updated the pull request incrementally with one additional commit
>> since the last revision:
>>
>> 8311517: ArrayList Javadoc of getFirst/getLast/removeLast
>>
>> as requested b
On Fri, 4 Aug 2023 03:08:26 GMT, Stuart Marks wrote:
> Thanks for the updates. I've drafted a CSR; see link in header. Please take a
> look.
@stuart-marks Thanks, the CSR looks good to me. I guess the `Fix versions`
field will be added when the CSR is reviewed?
-
PR Comment: http
On Wed, 26 Jul 2023 23:01:26 GMT, Stuart Marks wrote:
>> The [JEP for sequenced collections](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 listIterat
On Wed, 26 Jul 2023 21:59:41 GMT, Stuart Marks wrote:
> Regarding the text of the change: should getFirst() and getLast() be
> mentioned? They were added by Sequenced Collections, and they run in constant
> time. Also, while add() and addLast() run in amortized constant time (because
> of the
adoc to factor in the new methods introduced by JEP
> 431.
>
> https://bugs.openjdk.org/browse/JDK-8311517
> https://mail.openjdk.org/pipermail/core-libs-dev/2023-June/107328.html
> https://mail.openjdk.org/pipermail/core-libs-dev/2023-July/109637.html
>
> This PR only affec
On Wed, 26 Jul 2023 11:02:20 GMT, dan1st wrote:
> The [JEP for sequenced collections](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, a
The [JEP for sequenced collections](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 in
> constant time. The add operation runs in am