| Modifier and Type | Field and Description |
|---|---|
| protected RubyRandom. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | |
| protected static IRubyObject | |
| private static void | |
| private static IRubyObject | |
| pack-priv static void | |
| private static void | |
| private static double | |
| private static double | |
| pack-priv static byte[] | |
| pack-priv static RubyRandom. | |
| pack-priv static RubyRandom | |
| pack-priv static int | |
| public IRubyObject | |
| pack-priv static void | |
| private static RubyInteger | |
| private static long | |
| private static byte[] | |
| public IRubyObject | |
| public IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static RubyFloat | |
| public static RubyFloat | |
| pack-priv static IRubyObject | randInt(ThreadContext context, IRubyObject self, RubyRandom.
|
| public static RubyInteger | |
| public static RubyInteger | |
| private static RubyInteger | |
| public static long | |
| public static long | |
| public static double | |
| private static double | |
| private static IRubyObject | randomUlongLimited(ThreadContext context, IRubyObject self, RubyRandom.
|
| private static RubyInteger | randomUlongLimitedBig(ThreadContext context, IRubyObject self, RubyRandom.
|
| pack-priv static IRubyObject | |
| pack-priv static IRubyObject | |
| private static IRubyObject | |
| pack-priv static RubyRange. | |
| public IRubyObject | |
| pack-priv static void | |
| pack-priv static RubyRandom. |
| random | back to summary |
|---|---|
| protected RubyRandom. | |
| RubyRandomBase | back to summary |
|---|---|
| public RubyRandomBase(Ruby runtime, RubyClass metaClass) | |
| bytes | back to summary |
|---|---|
public IRubyObject bytes(ThreadContext context, IRubyObject arg)
| |
| bytesCommon | back to summary |
|---|---|
| protected static IRubyObject bytesCommon(ThreadContext context, RubyRandom. | |
| checkFloatValue | back to summary |
|---|---|
| private static void checkFloatValue(ThreadContext context, double x) | |
| checkMaxInt | back to summary |
|---|---|
| private static IRubyObject checkMaxInt(ThreadContext context, IRubyObject vmax) | |
| checkRandomNumber | back to summary |
|---|---|
| pack-priv static void checkRandomNumber(ThreadContext context, IRubyObject v, IRubyObject arg0) | |
| domainError | back to summary |
|---|---|
| private static void domainError(ThreadContext context) | |
| floatValue | back to summary |
|---|---|
| private static double floatValue(ThreadContext context, IRubyObject v) | |
| floatValue | back to summary |
|---|---|
| private static double floatValue(ThreadContext context, RubyFloat v) | |
| getBytes | back to summary |
|---|---|
| pack-priv static byte[] getBytes(RubyRandom. | |
| getDefaultRand | back to summary |
|---|---|
| pack-priv static RubyRandom. | |
| getDefaultRandom | back to summary |
|---|---|
| pack-priv static RubyRandom getDefaultRandom(Ruby runtime) | |
| getIntBigIntegerBuffer | back to summary |
|---|---|
| pack-priv static int getIntBigIntegerBuffer(byte[] src, int loc) | |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject[] args)
| |
| invalidArgument | back to summary |
|---|---|
| pack-priv static void invalidArgument(ThreadContext context, IRubyObject arg0) | |
| limitedBigRand | back to summary |
|---|---|
| private static RubyInteger limitedBigRand(ThreadContext context, RubyRandom. | |
| makeMask | back to summary |
|---|---|
| private static long makeMask(long x) | |
| objRandomBytes | back to summary |
|---|---|
| private static byte[] objRandomBytes(ThreadContext context, IRubyObject obj, long n) | |
| rand | back to summary |
|---|---|
public IRubyObject rand(ThreadContext context)
| |
| rand | back to summary |
|---|---|
public IRubyObject rand(ThreadContext context, IRubyObject arg)
| |
| randDefault | back to summary |
|---|---|
public static IRubyObject randDefault(ThreadContext context, IRubyObject recv)
| |
| randDefault | back to summary |
|---|---|
public static IRubyObject randDefault(ThreadContext context, IRubyObject recv, IRubyObject arg)
| |
| randFloat | back to summary |
|---|---|
| public static RubyFloat randFloat(ThreadContext context) | |
| randFloat | back to summary |
|---|---|
| public static RubyFloat randFloat(ThreadContext context, RubyRandom. | |
| randInt | back to summary |
|---|---|
| pack-priv static IRubyObject randInt(ThreadContext context, IRubyObject self, RubyRandom. | |
| randLimited | back to summary |
|---|---|
| public static RubyInteger randLimited(ThreadContext context, long limit) | |
| randLimited | back to summary |
|---|---|
| public static RubyInteger randLimited(ThreadContext context, BigInteger limit) | |
| randLimitedFixnum | back to summary |
|---|---|
| private static RubyInteger randLimitedFixnum(ThreadContext context, RubyRandom. | |
| randLimitedFixnumInner | back to summary |
|---|---|
| public static long randLimitedFixnumInner(Random random, long limit) | |
| randomLongLimited | back to summary |
|---|---|
| public static long randomLongLimited(ThreadContext context, IRubyObject obj, long limit) | |
| randomReal | back to summary |
|---|---|
| public static double randomReal(ThreadContext context, IRubyObject obj, boolean excl) | |
| randomReal | back to summary |
|---|---|
| private static double randomReal(ThreadContext context, IRubyObject obj, RubyRandom. | |
| randomUlongLimited | back to summary |
|---|---|
| private static IRubyObject randomUlongLimited(ThreadContext context, IRubyObject self, RubyRandom. | |
| randomUlongLimitedBig | back to summary |
|---|---|
| private static RubyInteger randomUlongLimitedBig(ThreadContext context, IRubyObject self, RubyRandom. | |
| randRandom | back to summary |
|---|---|
| pack-priv static IRubyObject randRandom(ThreadContext context, IRubyObject obj, RubyRandom. | |
| randRandom | back to summary |
|---|---|
| pack-priv static IRubyObject randRandom(ThreadContext context, IRubyObject obj, RubyRandom. | |
| randRange | back to summary |
|---|---|
| private static IRubyObject randRange(ThreadContext context, IRubyObject obj, IRubyObject vmax, RubyRandom. | |
| rangeValues | back to summary |
|---|---|
| pack-priv static RubyRange. | |
| seed | back to summary |
|---|---|
public IRubyObject seed(ThreadContext context)
| |
| setIntBigIntegerBuffer | back to summary |
|---|---|
| pack-priv static void setIntBigIntegerBuffer(byte[] dest, int loc, int value) | |
| tryGetRandomType | back to summary |
|---|---|
| pack-priv static RubyRandom. | |