Searched refs:boundedNextInt (Results 1 – 3 of 3) sorted by relevance
| /libcore/ojluni/src/main/java/java/util/ |
| D | Random.java | 913 private int boundedNextInt(int origin, int bound) { in boundedNextInt() method in Random 970 .generate(() -> boundedNextInt(randomNumberOrigin, randomNumberBound)) in ints() 1018 return IntStream.generate(() -> boundedNextInt(randomNumberOrigin, randomNumberBound)); in ints()
|
| /libcore/ojluni/src/main/java/jdk/internal/util/random/ |
| D | RandomSupport.java | 537 public static int boundedNextInt(RandomGenerator rng, int origin, int bound) { in boundedNextInt() method in RandomSupport 585 public static int boundedNextInt(RandomGenerator rng, int bound) { in boundedNextInt() method in RandomSupport 987 consumer.accept(RandomSupport.boundedNextInt(generatingGenerator, origin, bound)); in tryAdvance() 1002 consumer.accept(RandomSupport.boundedNextInt(r, o, b)); in forEachRemaining() 1740 … consumer.accept(RandomSupport.boundedNextInt(generatingGenerator, origin, bound)); in tryAdvance() 1755 consumer.accept(RandomSupport.boundedNextInt(r, o, b)); in forEachRemaining() 2132 … consumer.accept(RandomSupport.boundedNextInt(generatingGenerator, origin, bound)); in tryAdvance() 2147 consumer.accept(RandomSupport.boundedNextInt(r, o, b)); in forEachRemaining()
|
| /libcore/ojluni/src/main/java/java/util/random/ |
| D | RandomGenerator.java | 654 return RandomSupport.boundedNextInt(this, bound); in nextInt() 681 return RandomSupport.boundedNextInt(this, origin, bound); in nextInt()
|