RFR: 8284780: Need methods to create pre-sized HashSet and LinkedHashSet [v16]

XenoAmess duke at openjdk.java.net
Fri May 27 06:14:13 UTC 2022


> as title.

XenoAmess has updated the pull request incrementally with two additional commits since the last revision:

 - Merge remote-tracking branch 'stuart-marks/pull/8302' into fix_8284780
   
   # Conflicts:
   #	src/java.base/share/classes/java/util/HashSet.java
   #	src/java.base/share/classes/java/util/LinkedHashSet.java
 - Minor terminology fixes: change "item" and "key" to element; remove
   "insertion-ordered" from LinkedHashSet static factory method because
   LHS is implicit insertion-ordered.

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8302/files
  - new: https://git.openjdk.java.net/jdk/pull/8302/files/42fba932..230a767e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8302&range=15
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8302&range=14-15

  Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8302.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8302/head:pull/8302

PR: https://git.openjdk.java.net/jdk/pull/8302


More information about the core-libs-dev mailing list