> Java 17 added RandomGenerator interface. However, existing method 
> Collections.shuffle accepts old java.util.Random class. While since Java 19, 
> it's possible to use Random.from(RandomGenerator) wrapper, it would be more 
> convenient to provide direct overload shuffle(List<?> list, RandomGenerator 
> rnd).

Tagir F. Valeev has updated the pull request incrementally with one additional 
commit since the last revision:

  @implSpec added

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10520/files
  - new: https://git.openjdk.org/jdk/pull/10520/files/7b4486f8..a465bd79

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10520&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10520&range=03-04

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/10520.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10520/head:pull/10520

PR: https://git.openjdk.org/jdk/pull/10520

Reply via email to