Java Random Double entre 0 e 1

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