mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Trivial implementation of java.util.Random
This commit is contained in:
parent
4c3a2575ba
commit
7224c98766
7
classpath/java/util/Random.java
Normal file
7
classpath/java/util/Random.java
Normal file
@ -0,0 +1,7 @@
|
||||
package java.util;
|
||||
|
||||
public class Random {
|
||||
public int nextInt() {
|
||||
return (int)(Math.random()*Integer.MAX_VALUE);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user