On Mon, 12 May 2025 18:24:27 GMT, Archie Cobbs <aco...@openjdk.org> wrote:
> Because it is backed by an array, the `ArrayDeque` class has the ability to > get and replace any element in the list (accessed by index) in constant time. > However, this capability is not exposed in the API. > > Please review this PR which adds the following two new methods to > `ArrayDeque`: > * `public E get(int index)` > * `public E set(int index, E element)` This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.org/jdk/pull/25189