public class MyRandom
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static int |
random_count |
(package private) static boolean |
random_inited |
(package private) static int[] |
random_state |
(package private) static int[] |
randtable |
(package private) static int[] |
table |
Constructor and Description |
---|
MyRandom() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
init_randtable() |
(package private) static void |
my_random_finalize() |
(package private) static void |
my_random_initialize(int seed) |
(package private) static int |
my_random() |
(package private) static int |
next_power_of_two_up(int i) |
(package private) static int |
step_generator(int d) |
static int[] random_state
static int random_count
static boolean random_inited
static int[] randtable
static int[] table
static int step_generator(int d)
static void my_random_initialize(int seed)
static void my_random_finalize()
static int my_random()
static void init_randtable()
static int next_power_of_two_up(int i)