> 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 incrementally with one additional commit since the last revision: Fast paths for PriorityQueue and SortedSet and more tests ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31452/files - new: https://git.openjdk.org/jdk/pull/31452/files/6966ddb6..791db3af Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31452&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31452&range=01-02 Stats: 62 lines in 2 files changed: 61 ins; 0 del; 1 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
