Searched defs:nextDouble (Results 1 - 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
H A D | PrimitiveIterator.java | 241 double nextDouble(); method in interface:PrimitiveIterator.OfDouble 253 * action.accept(nextDouble()); 262 action.accept(nextDouble()); 269 * {@link #nextDouble()}, and returns that boxed result. 275 return nextDouble();
|
H A D | Random.java | 295 * The form of nextDouble used by DoubleStream Spliterators. 302 double r = nextDouble(); 497 * <p>The general contract of {@code nextDouble} is that one 502 * <p>The method {@code nextDouble} is implemented by class {@code Random} 505 * public double nextDouble() { 531 public double nextDouble() { method in class:Random 561 * v1 = 2 * nextDouble() - 1; // between -1.0 and 1.0 562 * v2 = 2 * nextDouble() - 1; // between -1.0 and 1.0 591 v1 = 2 * nextDouble() - 1; // between -1 and 1 592 v2 = 2 * nextDouble() [all...] |
H A D | SplittableRandom.java | 164 * The least non-zero value returned by nextDouble(). This value 342 * The form of nextDouble used by DoubleStream Spliterators. 512 public double nextDouble() { method in class:SplittableRandom 525 public double nextDouble(double bound) { method in class:SplittableRandom 544 public double nextDouble(double origin, double bound) { method in class:SplittableRandom
|
H A D | Scanner.java | 2374 * interpreted as a double value using the {@link #nextDouble} 2422 public double nextDouble() { method in class:Scanner
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | PrimitiveIteratorTest.java | 81 public double nextDouble() { method in class:PrimitiveIteratorTest.CannedDoubleIterator
|
H A D | SpliteratorsTest.java | 569 public double nextDouble() { method in class:SpliteratorsTest.CannedDoublePrimitiveIterator 840 assertEquals(2.0, it.nextDouble());
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | ChoiceFormat.java | 79 * <em>limits</em> = {0, 1, ChoiceFormat.nextDouble(1)}<br> 81 * (<code>nextDouble</code> can be used to get the next higher double, to 219 startValue = nextDouble(startValue); 455 public static final double nextDouble (double d) { method in class:ChoiceFormat 456 return nextDouble(d,true); 465 * @see #nextDouble 468 return nextDouble(d,false); 545 private static double nextDouble (double d, boolean positive) { 588 public static double nextDouble (double d, boolean positive) { method in class:ChoiceFormat
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | EmulatedStackFrame.java | 400 writer.putNextDouble(reader.nextDouble()); 512 public double nextDouble() { method in class:EmulatedStackFrame.StackFrameReader
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ThreadLocalRandom.java | 261 * The form of nextDouble used by DoubleStream Spliterators. 386 public double nextDouble() { method in class:ThreadLocalRandom 399 public double nextDouble(double bound) { method in class:ThreadLocalRandom 418 public double nextDouble(double origin, double bound) { method in class:ThreadLocalRandom 453 v1 = 2 * nextDouble() - 1; // between -1 and 1 454 v2 = 2 * nextDouble() - 1; // between -1 and 1
|
Completed in 945 milliseconds