mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Implemented trivial impolementation of java.util.Random.nextDouble()
This commit is contained in:
@ -18,4 +18,8 @@ public class Random {
|
||||
public int nextInt() {
|
||||
return (int)(Math.random()*Integer.MAX_VALUE);
|
||||
}
|
||||
|
||||
public double nextDouble() {
|
||||
return Math.random();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user