Stub method for Math.random()

This commit is contained in:
Eric Scharff 2007-09-26 09:47:25 -06:00
parent d06d1726c4
commit cacb5a6f1e

View File

@ -62,6 +62,10 @@ public final class Math {
return (int) Math.floor(v + 0.5);
}
public static double random() {
throw new UnsupportedOperationException();
}
public static native double floor(double v);
public static native double ceil(double v);