mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8265137: java.util.Random suddenly has new public methods nowhere documented
Reviewed-by: uschindler, darcy, smarks
This commit is contained in:
parent
aa90df6f51
commit
05e601748a
4 changed files with 126 additions and 274 deletions
|
@ -280,30 +280,6 @@ public final class SplittableRandom extends AbstractSplittableGenerator {
|
|||
return new SplittableRandom(source.nextLong(), mixGamma(source.nextLong()));
|
||||
}
|
||||
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
@Override
|
||||
public Spliterator.OfInt makeIntsSpliterator(long index, long fence, int origin, int bound) {
|
||||
return super.makeIntsSpliterator(index, fence, origin, bound);
|
||||
}
|
||||
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
@Override
|
||||
public Spliterator.OfLong makeLongsSpliterator(long index, long fence, long origin, long bound) {
|
||||
return super.makeLongsSpliterator(index, fence, origin, bound);
|
||||
}
|
||||
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
@Override
|
||||
public Spliterator.OfDouble makeDoublesSpliterator(long index, long fence, double origin, double bound) {
|
||||
return super.makeDoublesSpliterator(index, fence, origin, bound);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int nextInt() {
|
||||
return mix32(nextSeed());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue