static public final float random(float start,float end){
  return start + random.nextFloat() * (end - start);
}

static public final float random ( float start , float end ) { return start + random . nextFloat ( ) * ( end - start ) ; }
returns a random number between start ( inclusive ) and end ( inclusive ) .
