Searched refs:howbig (Results 1 – 1 of 1) sorted by relevance
188 public static int random(int howbig) { in random() argument189 return (int) (sRandom.nextFloat() * howbig); in random()192 public static int random(int howsmall, int howbig) { in random() argument193 if (howsmall >= howbig) return howsmall; in random()194 return (int) (sRandom.nextFloat() * (howbig - howsmall) + howsmall); in random()197 public static float random(float howbig) { in random() argument198 return sRandom.nextFloat() * howbig; in random()201 public static float random(float howsmall, float howbig) { in random() argument202 if (howsmall >= howbig) return howsmall; in random()203 return sRandom.nextFloat() * (howbig - howsmall) + howsmall; in random()