Searched refs:howsmall (Results 1 – 1 of 1) sorted by relevance
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()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()