Java Random Double zwischen 0 und 1

Random r = new Random();
double randomValue = r.nextDouble(); // returns double between 0 and 1
PeruTilli