static public final float random(float range){
  return random.nextFloat() * range;
}

static public final float random ( float range ) { return random . nextFloat ( ) * range ; }
returns a random number between 0 ( inclusive ) and the specified value ( exclusive ) .
