Trivial implementation of java.util.Random

This commit is contained in:
Eric Scharff 2007-12-17 15:43:51 -07:00
parent 4c3a2575ba
commit 7224c98766

View File

@ -0,0 +1,7 @@
package java.util;
public class Random {
public int nextInt() {
return (int)(Math.random()*Integer.MAX_VALUE);
}
}