| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final long | |
| private static final long | |
| public static final int | |
| public static final int | |
| public static final int | |
| pack-priv static final ByteList[] | |
| pack-priv static final byte[][] | |
| pack-priv static final ByteList[] | |
| pack-priv static final ByteList[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | RubyInteger(Ruby runtime, RubyClass rubyClass, boolean useObjectSpace, boolean canBeTainted)
Deprecated
|
| Modifier and Type | Method and Description |
|---|---|
| public abstract IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public IRubyObject | |
| public RubyString | |
| public RubyString | |
| private RubyString | |
| private static long | |
| public RubyInteger | convertToInteger()
Overrides org. Implements org. Tries to convert this object to a Ruby Integer using the "to_int" method. |
| public static RubyClass | |
| public IRubyObject | |
| public RubyArray | |
| public abstract RubyArray | |
| public final IRubyObject | |
| public IRubyObject | |
| private static long | |
| private static boolean | doRoundCheck(ThreadContext context, RoundingMode roundingMode, RubyInteger num, RubyNumeric n, IRubyObject f)
|
| public IRubyObject | |
| private static IRubyObject | downtoSize(ThreadContext context, IRubyObject recv, IRubyObject[] args)
A downto size method suitable for lambda method reference implementation of |
| private static void | |
| pack-priv static void | |
| public RubyBoolean | |
| public IRubyObject | |
| public abstract IRubyObject | |
| private static void | |
| pack-priv static void | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public IRubyObject | |
| public static final long | |
| public static final BigInteger | |
| public IRubyObject | |
| public IRubyObject | |
| pack-priv RubyInteger | |
| public abstract IRubyObject | idiv(ThreadContext context, IRubyObject other)
Overrides org. MRI: rb_int_idiv and overrides |
| public static IRubyObject | induced_from(ThreadContext context, IRubyObject recv, IRubyObject other)
Deprecated
rb_int_induced_from |
| protected static boolean | |
| protected static boolean | |
| protected static boolean | |
| protected static long | |
| protected static long | |
| protected static long | |
| protected boolean | |
| public IRubyObject | |
| private static CallSite | |
| protected RubyNumeric | |
| protected RubyNumeric | |
| protected IRubyObject | |
| pack-priv static RubyInteger | |
| public IRubyObject | |
| public boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| public IRubyObject | |
| public boolean | |
| public IRubyObject | |
| public IRubyObject | |
| public RubyInteger | |
| public RubyInteger | |
| public IRubyObject | |
| public IRubyObject | |
| public static long | Returns: ""
Deprecated
since 10.0. Use
org. instead.
|
| public static long | Returns: the value and result code, with the top four bytes being the result code (zero if no error)the object to convert to a uint val)Simulate CRuby's rb_num_to_uint by returning a single long; the top 4 bytes will be the uint and the bottom four bytes will be the result code. |
| public RubyBoolean | |
| public abstract IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| protected abstract IRubyObject | |
| public abstract IRubyObject | |
| public abstract IRubyObject | |
| public abstract IRubyObject | op_equal(ThreadContext context, IRubyObject other)
Redeclares org. Overrides org. rb_obj_equal Will by default use identity equality to compare objects. |
| public IRubyObject | |
| public IRubyObject | |
| public final IRubyObject | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public RubyInteger | |
| public IRubyObject | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public IRubyObject | |
| private static long | |
| public abstract IRubyObject | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public abstract IRubyObject | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public abstract IRubyObject | |
| public RubyInteger | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | remainder(ThreadContext context, IRubyObject dividend)
Overrides org. num_remainder |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public RubyNumeric | |
| public int | |
| public int | |
| pack-priv static ByteList | |
| public static ByteList | |
| public static RubyString | Returns: a new single-character RubyStringthe byte b, RubyClass meta, Encoding the encoding enc)Return a single-character ByteList, possibly cached, corresponding to the given byte and encoding. |
| pack-priv static ByteList | |
| public static ByteList | Returns: a cached single-character ByteListthe byte index)Return a low ASCII single-character bytelist with UTF-8 encoding, using cached values. |
| private static JavaSites. | sites(ThreadContext context)
Hides org. Retrieve the call sites for this class. |
| public abstract IRubyObject | |
| public IRubyObject | |
| public static IRubyObject | |
| public abstract IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| protected static IRubyObject | timesSize(ThreadContext context, RubyInteger recv, IRubyObject[] args)
A times size method suitable for lambda method reference implementation of |
| public abstract IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public RubyString | |
| public RubyString | |
| public RubyString | |
| public RubyString | |
| protected RubyFloat | |
| pack-priv static RubyInteger | |
| private long | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public IRubyObject | |
| public static IRubyObject | |
| public IRubyObject | |
| private static IRubyObject | uptoSize(ThreadContext context, IRubyObject from, IRubyObject[] args)
An upto size method suitable for lambda method reference implementation of |
| public abstract IRubyObject |