> This commit adds a `PriorityQueue` constructor that takes both a custom > comparator and an existing collection. > > See previous discussion in https://github.com/openjdk/jdk/pull/17045. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Liam Miller-Cushon has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision: - Merge remote-tracking branch 'origin/master' into JDK-6356745 - Test with null elements - Fast paths for PriorityQueue and SortedSet and more tests - Update copyright year, remove author name - since 23 -> 28 - fix style - updated javadoc, added tests - updated the javadoc - add since tag - updated the javadoc - ... and 2 more: https://git.openjdk.org/jdk/compare/deb90023...69ff5223 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31452/files - new: https://git.openjdk.org/jdk/pull/31452/files/3e9e2dd5..69ff5223 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31452&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31452&range=03-04 Stats: 60338 lines in 486 files changed: 56521 ins; 2040 del; 1777 mod Patch: https://git.openjdk.org/jdk/pull/31452.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31452/head:pull/31452 PR: https://git.openjdk.org/jdk/pull/31452
