Re: RFR: 8266571: Sequenced Collections [v5]

2023-04-17 Thread Stuart Marks
On Thu, 30 Mar 2023 09:50:51 GMT, Tagir F. Valeev wrote: >> src/java.base/share/classes/java/util/LinkedHashMap.java line 1197: >> >>> 1195: >>> 1196: public V computeIfAbsent(K key, Function>> V> mappingFunction) { >>> 1197: return base.computeIfAbsent(key, mappingFunction)

Re: RFR: 8266571: Sequenced Collections [v5]

2023-04-17 Thread Stuart Marks
On Tue, 28 Mar 2023 01:28:16 GMT, Stuart Marks wrote: >> src/java.base/share/classes/java/util/LinkedHashMap.java line 1123: >> >>> 1121: >>> 1122: public V put(K key, V value) { >>> 1123: return base.put(key, value); >> >> Why `put()` simply delegates to `base.put()` while

Re: RFR: 8266571: Sequenced Collections [v5]

2023-04-14 Thread Stuart Marks
On Thu, 3 Nov 2022 20:33:40 GMT, Chen Liang wrote: >> Stuart Marks has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 80 commits: >> >> - Merge branch 'master' into JDK-8266571-SequencedCollections >> - Simplify handling of cached

Re: RFR: 8266571: Sequenced Collections [v5]

2023-04-13 Thread Stuart Marks
> PR for Sequenced Collections implementation. Stuart Marks has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 80 commits: - Merge branch 'master' into JDK-8266571-SequencedCollections - Simplify handling of cached keySet, values, and