Re: RFR: 8143850: Add indexed get() and set() methods to ArrayDeque

2025-05-14 Thread Archie Cobbs
On Mon, 12 May 2025 18:24:27 GMT, Archie Cobbs 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 wh

Re: RFR: 8143850: Add indexed get() and set() methods to ArrayDeque

2025-05-13 Thread Rémi Forax
On Mon, 12 May 2025 18:24:27 GMT, Archie Cobbs 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 wh

Re: RFR: 8143850: Add indexed get() and set() methods to ArrayDeque

2025-05-13 Thread Archie Cobbs
On Tue, 13 May 2025 08:58:28 GMT, ExE Boss 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 w

Re: RFR: 8143850: Add indexed get() and set() methods to ArrayDeque

2025-05-13 Thread ExE Boss
On Mon, 12 May 2025 18:24:27 GMT, Archie Cobbs 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 wh