HomeSort by relevance Sort by last modified time
    Searched defs:nextDouble (Results 1 - 10 of 10) sorted by null

  /dalvik/libcore/luni/src/main/java/java/util/
Random.java 92 * @see #nextDouble
143 public double nextDouble() {
152 * @see #nextDouble
167 * @see #nextDouble
178 v1 = 2 * nextDouble() - 1; // Generates two independent random
180 v2 = 2 * nextDouble() - 1;
Scanner.java     [all...]
  /dalvik/libcore/luni/src/test/java/tests/api/java/util/
RandomTest.java 110 * @tests java.util.Random#nextDouble()
115 method = "nextDouble",
119 // Test for method double java.util.Random.nextDouble()
120 double lastNum = r.nextDouble();
125 nextNum = r.nextDouble();
132 assertTrue("Calling nextDouble 100 times resulted in same number",
135 "Calling nextDouble resulted in a number out of range [0,1)",
348 mr.nextDouble();
ScannerTest.java     [all...]
  /dalvik/libcore/text/src/main/java/java/text/
ChoiceFormat.java 44 * double[] limits2 = {0, 1, ChoiceFormat.nextDouble(1)};
49 * ChoiceFormat.nextDouble(double) allows to get the double following the one
167 next = nextDouble(value.doubleValue());
312 public static final double nextDouble(double value) {
337 public static double nextDouble(double value, boolean increment) {
338 return increment ? nextDouble(value) : previousDouble(value);
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 
  /prebuilt/sdk/4/
android.jar 

Completed in 21 milliseconds