| Modifier and Type | Field and Description |
|---|---|
| protected Random | |
| public static final PyType |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final void | |
| pack-priv final PyLong | |
| pack-priv final PyObject | |
| pack-priv final void | |
| pack-priv final PyObject | |
| pack-priv final void | |
| pack-priv final void |
| javaRandom | back to summary |
|---|---|
| protected Random javaRandom | |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| PyRandom | back to summary |
|---|---|
| public PyRandom() | |
| PyRandom | back to summary |
|---|---|
| public PyRandom(PyType subType) | |
| Random___init__ | back to summary |
|---|---|
pack-priv final void Random___init__(PyObject[] args, String[] keywords)
| |
| Random_getrandbits | back to summary |
|---|---|
pack-priv final PyLong Random_getrandbits(int k)
| |
| Random_getstate | back to summary |
|---|---|
pack-priv final PyObject Random_getstate()
| |
| Random_jumpahead | back to summary |
|---|---|
pack-priv final void Random_jumpahead(PyObject arg0)
| |
| Random_random | back to summary |
|---|---|
| pack-priv final PyObject Random_random() Generate a random number on [0,1) with 53-bit resolution. Implementation lifted from _randommodule.c:random_random(), but we use >>> instead of >> to avoid sign problems.
| |
| Random_seed | back to summary |
|---|---|
| pack-priv final void Random_seed(PyObject seed) Sets the seed of the internal number generated to seed. If seed is a PyInteger or PyLong, it uses the value, else it uses the hash function of PyObject
| |
| Random_setstate | back to summary |
|---|---|
pack-priv final void Random_setstate(PyObject arg0)
| |