Short answer
Random r = new Random();
double mySample = r.nextGaussian()*desiredStandardDeviation+desiredMean;
For example, this answer is given below: http://www.javamex.com/tutorials/random_numbers/gaussian_distribution_2.shtml
, , , , , . 0, 1; , z- (https://en.wikipedia.org/wiki/Standard_score). " z ". z = (x-mean)/stdev, z = x. z , stdev, ?
z * stdev + mean = x ', z = x, x' .