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.Methods in org.jruby that return RubyIntegerModifier and TypeMethodDescriptionstatic 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 RubyIntegerDeprecated.RubyRational.getDenominator()RubyRational.getNumerator()RubyTime.gmt_offset()Deprecated.RubyTime.gmt_offset(ThreadContext context) RubyTime.hour()Deprecated.RubyTime.hour(ThreadContext context) RubyTime.mday()Deprecated.RubyTime.mday(ThreadContext context) RubyTime.min()Deprecated.RubyTime.min(ThreadContext context) RubyTime.month()Deprecated.RubyTime.month(ThreadContext context) RubyBignum.negate(ThreadContext context) RubyFixnum.negate(ThreadContext context) RubyInteger.negate()Deprecated.RubyInteger.negate(ThreadContext context) 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()Deprecated.RubyTime.nsec(ThreadContext context) Get the fractional part of time in nanoseconds.RubyBignum.op_lshift(ThreadContext context, long shift) RubyFixnum.op_lshift(ThreadContext context, long width) RubyInteger.op_lshift(ThreadContext context, long other) RubyBignum.op_rshift(ThreadContext context, long shift) RubyFixnum.op_rshift(ThreadContext context, long width) RubyInteger.op_rshift(ThreadContext context, long other) static RubyIntegerRubyRandomBase.randLimited(ThreadContext context, long limit) static RubyIntegerRubyRandomBase.randLimited(ThreadContext context, BigInteger limit) RubyTime.sec()Deprecated.RubyTime.sec(ThreadContext context) static RubyIntegerRubyNumeric.str2inum(Ruby runtime, RubyString str, int base) Deprecated.static RubyIntegerRubyNumeric.str2inum(Ruby runtime, RubyString str, int base, boolean strict) Deprecated.RubyDir.tell()Deprecated.RubyDir.tell(ThreadContext context) Returns the current position in the directory.RubyTime.to_i()Deprecated.RubyTime.to_i(ThreadContext context) RubyTime.usec()Deprecated.RubyTime.usec(ThreadContext context) Get the microsecond part of this time value.RubyTime.wday()Deprecated.RubyTime.wday(ThreadContext context) RubyTime.yday()Deprecated.RubyTime.yday(ThreadContext context) RubyTime.year()Deprecated.RubyTime.year(ThreadContext context) Methods in org.jruby with parameters of type RubyIntegerModifier and TypeMethodDescriptionprotected 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 RubyNumericRubyInteger.integerFloor(ThreadContext context, RubyInteger f) protected IRubyObjectRubyFixnum.intPowTmp1(ThreadContext context, RubyInteger y, long mm, boolean negaFlg) protected IRubyObjectRubyInteger.intPowTmp3(ThreadContext context, RubyInteger y, RubyBignum m, boolean negaFlg) static IRubyObjectFiberScheduler.ioPRead(ThreadContext context, IRubyObject scheduler, IRubyObject io, IRubyObject buffer, RubyInteger from, RubyInteger length, RubyInteger offset) static IRubyObjectFiberScheduler.ioPWrite(ThreadContext context, IRubyObject scheduler, IRubyObject io, IRubyObject buffer, RubyInteger from, RubyInteger length, RubyInteger offset) static IRubyObjectFiberScheduler.ioRead(ThreadContext context, IRubyObject scheduler, IRubyObject io, IRubyObject buffer, RubyInteger length, RubyInteger offset) static IRubyObjectFiberScheduler.ioWrite(ThreadContext context, IRubyObject scheduler, IRubyObject io, IRubyObject buffer, RubyInteger length, RubyInteger offset) static RubyNumericRubyRational.newInstance(ThreadContext context, RubyInteger num) static RubyNumericRubyRational.newInstance(ThreadContext context, RubyInteger num, RubyInteger den) static IRubyObjectRubyRational.newRationalCanonicalize(ThreadContext context, RubyInteger x, RubyInteger y) rb_rational_newfinal RubyNumericRubyRational.op_div(ThreadContext context, RubyInteger other) final IRubyObjectRubyRational.op_equal(ThreadContext context, RubyInteger other) RubyRational.op_mul(ThreadContext context, RubyInteger other) 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[]) -
Uses of RubyInteger in org.jruby.api
Methods in org.jruby.api that return RubyIntegerModifier and TypeMethodDescriptionstatic RubyIntegerConvert.asInteger(ThreadContext context, double value) Create some type of Ruby Integer from a java doublestatic RubyIntegerConvert.castAsInteger(ThreadContext context, IRubyObject newValue) Cast the given value to a RubyInteger with most basic typeError thrown if the value is not a RubyInteger.static RubyIntegerConvert.castAsInteger(ThreadContext context, IRubyObject newValue, String message) Cast the given value to a RubyInteger with most basic typeError thrown if the value is not a RubyInteger.static RubyIntegerConvert.toInteger(ThreadContext context, IRubyObject arg) Safely convert a Ruby Numeric into a java long value. -
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 RubyIntegerMethods in org.jruby.ext.bigdecimal with parameters of type RubyIntegerModifier and TypeMethodDescriptionRubyBigDecimal.multiplyWith(ThreadContext context, 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) 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) -
Uses of RubyInteger in org.jruby.ir.operands
Methods in org.jruby.ir.operands that return RubyIntegerModifier and TypeMethodDescriptionUndefinedValue.convertToInteger()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 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) 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)
Convert.asInteger(ThreadContext, double)instead.