Re: Proposal: Add new methods get(int) and set(int, E) to ArrayDeque

2025-05-13 Thread Archie Cobbs
On Mon, May 12, 2025 at 12:00 PM Archie Cobbs wrote: > I would like to offer to do the following: > >- Change the title of this bug from "retrofit ArrayDeque to implement >List" to "Add indexed get() and set() methods to ArrayDeque" > > >- Propose a corresponding PR and CSR to add get

Proposal: Add new methods get(int) and set(int, E) to ArrayDeque

2025-05-12 Thread Archie Cobbs
I was wondering for the n'th time why ArrayDeque does not have get(int) and set(int, E) methods and eventually came across JDK-8143850 which was created 10 years ago... This comment exactly describes my own experience: People write code, they need an