public class Random
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
Random() |
protected |
Random(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
protected static long |
getCPtr(Random obj) |
static double |
normal() |
static double |
normal(double m,
double s) |
static void |
seed_c(int seed) |
static double |
uniform() |
static int |
uniform(int min,
int max) |
protected static long getCPtr(Random obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public static double uniform()
public static double normal(double m, double s)
public static void seed_c(int seed)
public static double normal()
public static int uniform(int min, int max)