Home
last modified time | relevance | path

Searched refs:randomNumberOrigin (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/util/random/
DRandomGenerator.java199 default DoubleStream doubles(double randomNumberOrigin, double randomNumberBound) { in doubles() argument
200 RandomSupport.checkRange(randomNumberOrigin, randomNumberBound); in doubles()
202 …return DoubleStream.generate(() -> nextDouble(randomNumberOrigin, randomNumberBound)).sequential(); in doubles()
246 default DoubleStream doubles(long streamSize, double randomNumberOrigin, in doubles() argument
249 RandomSupport.checkRange(randomNumberOrigin, randomNumberBound); in doubles()
251 return doubles(randomNumberOrigin, randomNumberBound).limit(streamSize); in doubles()
292 default IntStream ints(int randomNumberOrigin, int randomNumberBound) { in ints() argument
293 RandomSupport.checkRange(randomNumberOrigin, randomNumberBound); in ints()
295 … return IntStream.generate(() -> nextInt(randomNumberOrigin, randomNumberBound)).sequential(); in ints()
337 default IntStream ints(long streamSize, int randomNumberOrigin, in ints() argument
[all …]
/libcore/ojluni/src/main/java/java/util/
DSplittableRandom.java420 public IntStream ints(long streamSize, int randomNumberOrigin, int randomNumberBound) { in ints() argument
421 return proxy.ints(streamSize, randomNumberOrigin, randomNumberBound); in ints()
440 public IntStream ints(int randomNumberOrigin, int randomNumberBound) { in ints() argument
441 return proxy.ints(randomNumberOrigin, randomNumberBound); in ints()
489 public LongStream longs(long streamSize, long randomNumberOrigin, long randomNumberBound) { in longs() argument
490 return proxy.longs(streamSize, randomNumberOrigin, randomNumberBound); in longs()
509 public LongStream longs(long randomNumberOrigin, long randomNumberBound) { in longs() argument
510 return proxy.longs(randomNumberOrigin, randomNumberBound); in longs()
559 …public DoubleStream doubles(long streamSize, double randomNumberOrigin, double randomNumberBound) { in doubles() argument
560 return proxy.doubles(streamSize, randomNumberOrigin, randomNumberBound); in doubles()
[all …]
DRandom.java725 public IntStream ints(long streamSize, int randomNumberOrigin, int randomNumberBound) { in ints() argument
731 … return AbstractSpliteratorGenerator.ints(this, streamSize, randomNumberOrigin, randomNumberBound); in ints()
734 RandomSupport.checkRange(randomNumberOrigin, randomNumberBound); in ints()
736 .generate(() -> boundedNextInt(randomNumberOrigin, randomNumberBound)) in ints()
775 public IntStream ints(int randomNumberOrigin, int randomNumberBound) { in ints() argument
781 return AbstractSpliteratorGenerator.ints(this, randomNumberOrigin, randomNumberBound); in ints()
783 RandomSupport.checkRange(randomNumberOrigin, randomNumberBound); in ints()
784 return IntStream.generate(() -> boundedNextInt(randomNumberOrigin, randomNumberBound)); in ints()
862 public LongStream longs(long streamSize, long randomNumberOrigin, long randomNumberBound) { in longs() argument
863 …return AbstractSpliteratorGenerator.longs(this, streamSize, randomNumberOrigin, randomNumberBound); in longs()
[all …]
/libcore/ojluni/annotations/flagged_api/java/util/concurrent/
DThreadLocalRandom.annotated.java85 public java.util.stream.IntStream ints(long streamSize, int randomNumberOrigin, int randomNumberBou… in ints() argument
87 public java.util.stream.IntStream ints(int randomNumberOrigin, int randomNumberBound) { throw new R… in ints() argument
93 public java.util.stream.LongStream longs(long streamSize, long randomNumberOrigin, long randomNumbe… in longs() argument
95 public java.util.stream.LongStream longs(long randomNumberOrigin, long randomNumberBound) { throw n… in longs() argument
101 public java.util.stream.DoubleStream doubles(long streamSize, double randomNumberOrigin, double ran… in doubles() argument
103 public java.util.stream.DoubleStream doubles(double randomNumberOrigin, double randomNumberBound) {… in doubles() argument
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java569 public IntStream ints(long streamSize, int randomNumberOrigin, int randomNumberBound) { in ints() argument
570 …pliteratorGenerator.ints(ThreadLocalRandomProxy.PROXY, streamSize, randomNumberOrigin, randomNumbe… in ints()
581 public IntStream ints(int randomNumberOrigin, int randomNumberBound) { in ints() argument
582 …return AbstractSpliteratorGenerator.ints(ThreadLocalRandomProxy.PROXY, randomNumberOrigin, randomN… in ints()
612 public LongStream longs(long streamSize, long randomNumberOrigin, long randomNumberBound) { in longs() argument
613 …literatorGenerator.longs(ThreadLocalRandomProxy.PROXY, streamSize, randomNumberOrigin, randomNumbe… in longs()
624 public LongStream longs(long randomNumberOrigin, long randomNumberBound) { in longs() argument
625 …return AbstractSpliteratorGenerator.longs(ThreadLocalRandomProxy.PROXY, randomNumberOrigin, random… in longs()
655 …public DoubleStream doubles(long streamSize, double randomNumberOrigin, double randomNumberBound) { in doubles() argument
656 …teratorGenerator.doubles(ThreadLocalRandomProxy.PROXY, streamSize, randomNumberOrigin, randomNumbe… in doubles()
[all …]
/libcore/ojluni/annotations/flagged_api/java/util/
DSplittableRandom.annotated.java62 public java.util.stream.IntStream ints(long streamSize, int randomNumberOrigin, int randomNumberBou… in ints() argument
64 public java.util.stream.IntStream ints(int randomNumberOrigin, int randomNumberBound) { throw new R… in ints() argument
70 public java.util.stream.LongStream longs(long streamSize, long randomNumberOrigin, long randomNumbe… in longs() argument
72 public java.util.stream.LongStream longs(long randomNumberOrigin, long randomNumberBound) { throw n… in longs() argument
78 public java.util.stream.DoubleStream doubles(long streamSize, double randomNumberOrigin, double ran… in doubles() argument
80 public java.util.stream.DoubleStream doubles(double randomNumberOrigin, double randomNumberBound) {… in doubles() argument
/libcore/ojluni/annotations/hiddenapi/java/util/
DRandom.java111 long streamSize, int randomNumberOrigin, int randomNumberBound) { in ints() argument
115 public java.util.stream.IntStream ints(int randomNumberOrigin, int randomNumberBound) { in ints() argument
128 long streamSize, long randomNumberOrigin, long randomNumberBound) { in longs() argument
132 public java.util.stream.LongStream longs(long randomNumberOrigin, long randomNumberBound) { in longs() argument
145 long streamSize, double randomNumberOrigin, double randomNumberBound) { in doubles() argument
150 double randomNumberOrigin, double randomNumberBound) { in doubles() argument
/libcore/ojluni/src/main/java/jdk/internal/util/random/
DRandomSupport.java1457 …public static IntStream ints(RandomGenerator gen, long streamSize, int randomNumberOrigin, int ran… in ints() argument
1459 RandomSupport.checkRange(randomNumberOrigin, randomNumberBound); in ints()
1460 …return intStream(new RandomIntsSpliterator(gen, 0L, streamSize, randomNumberOrigin, randomNumberBo… in ints()
1463 … public static IntStream ints(RandomGenerator gen, int randomNumberOrigin, int randomNumberBound) { in ints() argument
1464 RandomSupport.checkRange(randomNumberOrigin, randomNumberBound); in ints()
1465 …return intStream(new RandomIntsSpliterator(gen, 0L, Long.MAX_VALUE, randomNumberOrigin, randomNumb… in ints()
1477 …static LongStream longs(RandomGenerator gen, long streamSize, long randomNumberOrigin, long random… in longs() argument
1479 RandomSupport.checkRange(randomNumberOrigin, randomNumberBound); in longs()
1480 …return longStream(new RandomLongsSpliterator(gen, 0L, streamSize, randomNumberOrigin, randomNumber… in longs()
1483 …public static LongStream longs(RandomGenerator gen, long randomNumberOrigin, long randomNumberBoun… in longs() argument
[all …]
/libcore/ojluni/annotations/flagged_api/java/util/random/
DRandomGenerator.annotated.java41 public default java.util.stream.DoubleStream doubles(double randomNumberOrigin, double randomNumber… in doubles() argument
45 public default java.util.stream.DoubleStream doubles(long streamSize, double randomNumberOrigin, do… in doubles() argument
49 public default java.util.stream.IntStream ints(int randomNumberOrigin, int randomNumberBound) { thr… in ints() argument
53 public default java.util.stream.IntStream ints(long streamSize, int randomNumberOrigin, int randomN… in ints() argument
57 public default java.util.stream.LongStream longs(long randomNumberOrigin, long randomNumberBound) {… in longs() argument
61 public default java.util.stream.LongStream longs(long streamSize, long randomNumberOrigin, long ran… in longs() argument