Java Doble aleatorio entre 0 y 1

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