public class Random
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
N |
| Constructor and Description |
|---|
Random() |
Random(int s) |
Random(int[] initKey) |
Random(int[] state,
int left) |
Random(Random orig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
genrandInt32() |
double |
genrandReal() |
double |
genrandReal2() |
int |
getLeft() |
int[] |
getState() |
int |
hashCode() |
static double |
intPairToRealExclusive(int a,
int b) |
static double |
intPairToRealInclusive(int a,
int b) |
public static final int N
public Random()
public Random(int s)
public Random(int[] initKey)
public Random(Random orig)
public Random(int[] state,
int left)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int genrandInt32()
public double genrandReal()
public static double intPairToRealExclusive(int a,
int b)
public double genrandReal2()
public static double intPairToRealInclusive(int a,
int b)
public int[] getState()
public int getLeft()
Copyright © 2001-2023 JRuby. All Rights Reserved.