Uses of Class
org.jruby.RubyInteger
Packages that use RubyInteger
Package
Description
-
Uses of RubyInteger in org.jruby
Subclasses of RubyInteger in org.jrubyModifier and TypeClassDescriptionclassclassImplementation of the Integer (Fixnum internal) class.Fields in org.jruby declared as RubyIntegerModifier and TypeFieldDescriptionprivate RubyIntegerRubyRational.denprivate RubyIntegerRubyRational.numprivate final RubyIntegerRubyRandom.RandomType.seedMethods in org.jruby that return RubyIntegerModifier and TypeMethodDescriptionprivate RubyIntegerRubyFixnum.addAsBignum(ThreadContext context, long other) private RubyIntegerRubyFixnum.addFixnum(ThreadContext context, RubyFixnum other) static RubyIntegerRubyBignum.bignorm(Ruby runtime, BigInteger bi) rb_big_normstatic RubyIntegerBasicObjectStub.convertToInteger(IRubyObject self) static RubyIntegerBasicObjectStub.convertToInteger(IRubyObject self, int convertMethodIndex, String convertMethod) static RubyIntegerBasicObjectStub.convertToInteger(IRubyObject self, String convertMethod) RubyBasicObject.convertToInteger()Tries to convert this object to a Ruby Integer using the "to_int" method.RubyBasicObject.convertToInteger(int methodIndex, String convertMethod) Deprecated.RubyBasicObject.convertToInteger(String convertMethod) Tries to convert this object to a Ruby Integer using the supplied conversion method.RubyFixnum.convertToInteger(String method) RubyFloat.convertToInteger()RubyInteger.convertToInteger()RubyRational.convertToInteger()RubyObjectAdapter.convertToRubyInteger(IRubyObject obj) static RubyIntegerMRI: macro DBL2IVALprivate RubyIntegerRubyBignum.divideImpl(Ruby runtime, BigInteger otherValue) private static RubyIntegerRubyRational.f_imul(ThreadContext context, long a, long b) f_imulRubyRational.getDenominator()RubyRational.getNumerator()(package private) RubyIntegerRubyRandom.RandomType.getSeed()RubyTime.gmt_offset()RubyTime.hour()private RubyIntegerRubyFixnum.idivLong(ThreadContext context, long x, long y) private static RubyIntegerRubyRational.intCheck(ThreadContext context, IRubyObject num) nurat_int_check(package private) static RubyIntegerRubyInteger.intValue(ThreadContext context, IRubyObject num) private RubyIntegerRubyFixnum.lshift(ThreadContext context, long width) RubyTime.mday()RubyTime.min()RubyTime.month()private RubyIntegerRubyRational.mriTruncate(ThreadContext context) RubyBignum.negate()RubyFixnum.negate()private static RubyIntegerRubyInteger.negate()static RubyIntegerRubyBignum.newBignorm(Ruby runtime, double value) Return a Bignum or Fixnum (Integer) for the given value, or raise FloatDomainError if it is out of range.RubyTime.nsec()Get the fractional part of time in nanoseconds.(package private) final RubyIntegerRubyBignum.op_and(ThreadContext context, RubyFixnum other) RubyBignum.op_lshift(ThreadContext context, long shift) RubyFixnum.op_lshift(ThreadContext context, long width) RubyInteger.op_lshift(ThreadContext context, long other) (package private) final RubyIntegerRubyBignum.op_or(ThreadContext context, RubyFixnum other) RubyBignum.op_rshift(ThreadContext context, long shift) RubyFixnum.op_rshift(ThreadContext context, long width) RubyInteger.op_rshift(ThreadContext context, long other) static RubyIntegerRubyRandom.randLimited(ThreadContext context, long limit) static RubyIntegerRubyRandom.randLimited(ThreadContext context, BigInteger limit) private static RubyIntegerRubyRandom.randLimitedBignum(ThreadContext context, RubyRandom.RandomType random, BigInteger limit) private static RubyIntegerRubyRandom.randLimitedFixnum(ThreadContext context, RubyRandom.RandomType random, long limit) private RubyIntegerRubyRational.roundHalfDown(ThreadContext context) private RubyIntegerRubyRational.roundHalfEven(ThreadContext context) private RubyIntegerRubyRational.roundHalfUp(ThreadContext context) RubyTime.sec()static RubyIntegerRubyNumeric.str2inum(Ruby runtime, RubyString str, int base) static RubyIntegerRubyNumeric.str2inum(Ruby runtime, RubyString str, int base, boolean strict) private RubyIntegerRubyFixnum.subtractAsBignum(ThreadContext context, long other) RubyDir.tell()Returns the current position in the directory.RubyTime.to_i()private RubyInteger(package private) static RubyIntegerRubyInteger.toInteger(ThreadContext context, IRubyObject num) RubyTime.usec()Get the microsecond part of this time value.RubyTime.wday()RubyTime.yday()RubyTime.year()Methods in org.jruby with parameters of type RubyIntegerModifier and TypeMethodDescriptionprivate static RubyNumericRubyRational.canonicalizeInternal(ThreadContext context, RubyClass clazz, RubyInteger num, RubyInteger den) nurat_s_canonicalize_internalprivate static RubyNumericRubyRational.canonicalizeInternalNoReduce(ThreadContext context, RubyClass clazz, RubyInteger num, RubyInteger den) nurat_s_canonicalize_internal_no_reduceprivate static booleanRubyRational.canonicalizeShouldNegate(ThreadContext context, RubyInteger den) private static booleanRubyInteger.doRoundCheck(ThreadContext context, RoundingMode roundingMode, RubyInteger num, RubyNumeric n, IRubyObject f) private static RubyNumericRubyRational.f_addsub(ThreadContext context, RubyClass metaClass, RubyInteger anum, RubyInteger aden, RubyInteger bnum, RubyInteger bden, boolean plus) f_addsubprivate static RubyNumericRubyRational.f_muldiv(ThreadContext context, RubyClass clazz, RubyInteger anum, RubyInteger aden, RubyInteger bnum, RubyInteger bden, boolean mult) f_muldivprivate RubyNumericRubyRational.fix_expt(ThreadContext context, RubyInteger other, int sign) protected static booleanRubyInteger.int_half_p_half_down(ThreadContext context, RubyInteger num, RubyNumeric n, IRubyObject f) protected static booleanRubyInteger.int_half_p_half_even(ThreadContext context, RubyInteger num, RubyNumeric n, IRubyObject f) protected static booleanRubyInteger.int_half_p_half_up(ThreadContext context, RubyInteger num, RubyNumeric n, IRubyObject f) protected IRubyObjectRubyFixnum.intPowTmp1(ThreadContext context, RubyInteger y, long mm, boolean negaFlg) (package private) IRubyObjectRubyFixnum.intPowTmp2(ThreadContext context, RubyInteger y, long mm, boolean negaFlg) protected IRubyObjectRubyInteger.intPowTmp3(ThreadContext context, RubyInteger y, RubyBignum m, boolean negaFlg) (package private) static RubyFloatRubyKernel.new_float(Ruby runtime, RubyInteger num) (package private) static RubyNumericRubyRational.newInstance(ThreadContext context, RubyClass clazz, RubyInteger num, RubyInteger den) static RubyNumericRubyRational.newInstance(ThreadContext context, RubyInteger num) static RubyNumericRubyRational.newInstance(ThreadContext context, RubyInteger num, RubyInteger den) (package private) static RubyNumericRubyRational.newRationalCanonicalize(ThreadContext context, RubyInteger x) rb_rational_new1static IRubyObjectRubyRational.newRationalCanonicalize(ThreadContext context, RubyInteger x, RubyInteger y) rb_rational_newprivate static RubyNumericRubyRational.newRationalNoReduce(ThreadContext context, RubyClass clazz, RubyInteger x, RubyInteger y) f_rational_new_no_reduce2(package private) static RubyNumericRubyRational.newRationalNoReduce(ThreadContext context, RubyInteger x, RubyInteger y) final RubyNumericRubyRational.op_div(ThreadContext context, RubyInteger other) final IRubyObjectRubyRational.op_equal(ThreadContext context, RubyInteger other) private static longRubyInteger.op_mod_two(ThreadContext context, RubyInteger self) RubyRational.op_mul(ThreadContext context, RubyInteger other) private static IRubyObjectRubyRandom.randInt(ThreadContext context, RubyRandom.RandomType random, RubyInteger vmax, boolean restrictive) protected static IRubyObjectRubyInteger.timesSize(ThreadContext context, RubyInteger recv, IRubyObject[] args) A times size method suitable for lambda method reference implementation ofRubyEnumerator.SizeFn.size(ThreadContext, IRubyObject, IRubyObject[])Constructors in org.jruby with parameters of type RubyIntegerModifierConstructorDescriptionprivateRubyRational(Ruby runtime, RubyClass clazz, RubyInteger num, RubyInteger den) -
Uses of RubyInteger in org.jruby.embed.internal
Methods in org.jruby.embed.internal that return RubyIntegerModifier and TypeMethodDescriptionEmbedRubyObjectAdapterImpl.convertToRubyInteger(IRubyObject obj) -
Uses of RubyInteger in org.jruby.ext.bigdecimal
Methods in org.jruby.ext.bigdecimal that return RubyIntegerModifier and TypeMethodDescriptionRubyBigDecimal.convertToInteger()private RubyIntegerRubyBigDecimal.idiv(ThreadContext context, RubyRational val) (package private) final RubyIntegerprivate static RubyIntegerRubyBigDecimal.toInteger(Ruby runtime, BigDecimal result) Methods in org.jruby.ext.bigdecimal with parameters of type RubyIntegerModifier and TypeMethodDescriptionRubyBigDecimal.multiplyWith(ThreadContext context, RubyInteger value) private static BigDecimalRubyBigDecimal.toBigDecimal(RubyInteger value) -
Uses of RubyInteger in org.jruby.ext.date
Methods in org.jruby.ext.date that return RubyIntegerModifier and TypeMethodDescriptionstatic RubyIntegerRubyDate._comp_year69(ThreadContext context, IRubyObject self, IRubyObject year) static RubyIntegerRubyDate._i(ThreadContext context, IRubyObject self, IRubyObject val) private static RubyIntegerRubyDate.cstr2num(Ruby runtime, RubyString str, int bp, int ep) RubyDate.cwday(ThreadContext context) RubyDate.cweek(ThreadContext context) RubyDate.cwyear(ThreadContext context) RubyDate.hour(ThreadContext context) RubyDate.mday(ThreadContext context) RubyDate.minute(ThreadContext context) RubyDate.mon(ThreadContext context) RubyDate.second(ThreadContext context) RubyDate.wday(ThreadContext context) RubyDate.yday(ThreadContext context) RubyDate.year(ThreadContext context) Methods in org.jruby.ext.date with parameters of type RubyIntegerModifier and TypeMethodDescription(package private) static intDateUtils.decode_year(ThreadContext context, IRubyObject y, int style, RubyInteger[] nth) -
Uses of RubyInteger in org.jruby.ext.ffi.jffi
Fields in org.jruby.ext.ffi.jffi with type parameters of type RubyIntegerModifier and TypeFieldDescriptionprivate IdentityHashMap<RubySymbol,RubyInteger> DataConverters.IntOrEnumConverter.symbolToValue -
Uses of RubyInteger in org.jruby.ir.operands
Methods in org.jruby.ir.operands that return RubyIntegerModifier and TypeMethodDescriptionUndefinedValue.convertToInteger()UndefinedValue.convertToInteger(int convertMethodIndex, String convertMethod) Deprecated.UndefinedValue.convertToInteger(String convertMethod) -
Uses of RubyInteger in org.jruby.runtime.builtin
Methods in org.jruby.runtime.builtin that return RubyIntegerModifier and TypeMethodDescriptionIRubyObject.convertToInteger()Converts this Ruby object to an Integer.default RubyIntegerIRubyObject.convertToInteger(int convertMethodIndex, String convertMethod) Deprecated.IRubyObject.convertToInteger(String convertMethod) Converts this Ruby object to an Integer. -
Uses of RubyInteger in org.jruby.util
Methods in org.jruby.util that return RubyIntegerModifier and TypeMethodDescriptionstatic RubyIntegerConvertBytes.byteListToInum(Ruby runtime, ByteList str, int base, boolean badcheck) static RubyIntegerConvertBytes.byteListToInum(Ruby runtime, ByteList str, int off, int end, int base, boolean badcheck) static RubyIntegerConvertBytes.byteListToInum19(Ruby runtime, ByteList str, int base, boolean badcheck) Deprecated.static RubyIntegerNumeric.f_abs(ThreadContext context, RubyInteger x) static RubyIntegerNumeric.f_add(ThreadContext context, RubyInteger x, RubyInteger y) static RubyIntegerNumeric.f_gcd(ThreadContext context, RubyInteger x, RubyInteger y) static RubyIntegerNumeric.f_idiv(ThreadContext context, RubyInteger x, RubyInteger y) static RubyIntegerNumeric.f_mul(ThreadContext context, RubyInteger x, RubyInteger y) static RubyIntegerNumeric.f_negate(ThreadContext context, RubyInteger x) static RubyIntegerNumeric.f_sub(ThreadContext context, RubyInteger x, RubyInteger y) private static RubyIntegerRubyDateParser.toRubyInteger(Ruby runtime, Number i) Methods in org.jruby.util with parameters of type RubyIntegerModifier and TypeMethodDescriptionstatic RubyIntegerNumeric.f_abs(ThreadContext context, RubyInteger x) static RubyIntegerNumeric.f_add(ThreadContext context, RubyInteger x, RubyInteger y) static RubyFixnumNumeric.f_cmp(ThreadContext context, RubyInteger x, long y) static RubyFixnumNumeric.f_cmp(ThreadContext context, RubyInteger x, RubyInteger y) static IRubyObjectNumeric.f_divmod(ThreadContext context, RubyInteger x, IRubyObject y) static IRubyObjectNumeric.f_equal(ThreadContext context, RubyInteger x, RubyInteger y) static RubyNumericNumeric.f_expt(ThreadContext context, RubyInteger x, RubyInteger y) static RubyIntegerNumeric.f_gcd(ThreadContext context, RubyInteger x, RubyInteger y) static booleanNumeric.f_gt_p(ThreadContext context, RubyInteger x, RubyInteger y) static RubyIntegerNumeric.f_idiv(ThreadContext context, RubyInteger x, RubyInteger y) static booleanNumeric.f_lt_p(ThreadContext context, RubyInteger x, RubyInteger y) static RubyIntegerNumeric.f_mul(ThreadContext context, RubyInteger x, RubyInteger y) static RubyIntegerNumeric.f_negate(ThreadContext context, RubyInteger x) static booleanNumeric.f_negative_p(ThreadContext context, RubyInteger x) static RubyIntegerNumeric.f_sub(ThreadContext context, RubyInteger x, RubyInteger y) static RubyNumericNumeric.f_to_r(ThreadContext context, RubyInteger x) static IRubyObjectNumeric.f_xor(ThreadContext context, RubyInteger x, RubyInteger y) static booleanNumeric.f_zero_p(ThreadContext context, RubyInteger x) static longNumeric.i_ilog2(ThreadContext context, RubyInteger x)