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 TypeClassDescriptionclass
class
Implementation of the Integer (Fixnum internal) class.Methods in org.jruby that return RubyIntegerModifier and TypeMethodDescriptionstatic RubyInteger
RubyBignum.bignorm
(Ruby runtime, BigInteger bi) rb_big_normstatic RubyInteger
BasicObjectStub.convertToInteger
(IRubyObject self) static RubyInteger
BasicObjectStub.convertToInteger
(IRubyObject self, int convertMethodIndex, String convertMethod) static RubyInteger
BasicObjectStub.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 RubyInteger
Deprecated.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 RubyInteger
RubyBignum.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 RubyInteger
RubyRandomBase.randLimited
(ThreadContext context, long limit) static RubyInteger
RubyRandomBase.randLimited
(ThreadContext context, BigInteger limit) RubyTime.sec()
Deprecated.RubyTime.sec
(ThreadContext context) static RubyInteger
RubyNumeric.str2inum
(Ruby runtime, RubyString str, int base) Deprecated.static RubyInteger
RubyNumeric.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 boolean
RubyInteger.int_half_p_half_down
(ThreadContext context, RubyInteger num, RubyNumeric n, IRubyObject f) protected static boolean
RubyInteger.int_half_p_half_even
(ThreadContext context, RubyInteger num, RubyNumeric n, IRubyObject f) protected static boolean
RubyInteger.int_half_p_half_up
(ThreadContext context, RubyInteger num, RubyNumeric n, IRubyObject f) protected RubyNumeric
RubyInteger.integerFloor
(ThreadContext context, RubyInteger f) protected IRubyObject
RubyFixnum.intPowTmp1
(ThreadContext context, RubyInteger y, long mm, boolean negaFlg) protected IRubyObject
RubyInteger.intPowTmp3
(ThreadContext context, RubyInteger y, RubyBignum m, boolean negaFlg) static IRubyObject
FiberScheduler.ioPRead
(ThreadContext context, IRubyObject scheduler, IRubyObject io, IRubyObject buffer, RubyInteger from, RubyInteger length, RubyInteger offset) static IRubyObject
FiberScheduler.ioPWrite
(ThreadContext context, IRubyObject scheduler, IRubyObject io, IRubyObject buffer, RubyInteger from, RubyInteger length, RubyInteger offset) static IRubyObject
FiberScheduler.ioRead
(ThreadContext context, IRubyObject scheduler, IRubyObject io, IRubyObject buffer, RubyInteger length, RubyInteger offset) static IRubyObject
FiberScheduler.ioWrite
(ThreadContext context, IRubyObject scheduler, IRubyObject io, IRubyObject buffer, RubyInteger length, RubyInteger offset) static RubyNumeric
RubyRational.newInstance
(ThreadContext context, RubyInteger num) static RubyNumeric
RubyRational.newInstance
(ThreadContext context, RubyInteger num, RubyInteger den) static IRubyObject
RubyRational.newRationalCanonicalize
(ThreadContext context, RubyInteger x, RubyInteger y) rb_rational_newfinal RubyNumeric
RubyRational.op_div
(ThreadContext context, RubyInteger other) final IRubyObject
RubyRational.op_equal
(ThreadContext context, RubyInteger other) RubyRational.op_mul
(ThreadContext context, RubyInteger other) protected static IRubyObject
RubyInteger.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 RubyInteger
Convert.asInteger
(ThreadContext context, double value) Create some type of Ruby Integer from a java doublestatic RubyInteger
Convert.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 RubyInteger
Convert.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 RubyInteger
Convert.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 RubyInteger
RubyDate._comp_year69
(ThreadContext context, IRubyObject self, IRubyObject year) static RubyInteger
RubyDate._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 RubyInteger
IRubyObject.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 RubyInteger
ConvertBytes.byteListToInum
(Ruby runtime, ByteList str, int base, boolean badcheck) static RubyInteger
ConvertBytes.byteListToInum
(Ruby runtime, ByteList str, int off, int end, int base, boolean badcheck) static RubyInteger
Numeric.f_abs
(ThreadContext context, RubyInteger x) static RubyInteger
Numeric.f_add
(ThreadContext context, RubyInteger x, RubyInteger y) static RubyInteger
Numeric.f_gcd
(ThreadContext context, RubyInteger x, RubyInteger y) static RubyInteger
Numeric.f_idiv
(ThreadContext context, RubyInteger x, RubyInteger y) static RubyInteger
Numeric.f_mul
(ThreadContext context, RubyInteger x, RubyInteger y) static RubyInteger
Numeric.f_negate
(ThreadContext context, RubyInteger x) static RubyInteger
Numeric.f_sub
(ThreadContext context, RubyInteger x, RubyInteger y) Methods in org.jruby.util with parameters of type RubyIntegerModifier and TypeMethodDescriptionstatic RubyInteger
Numeric.f_abs
(ThreadContext context, RubyInteger x) static RubyInteger
Numeric.f_add
(ThreadContext context, RubyInteger x, RubyInteger y) static RubyFixnum
Numeric.f_cmp
(ThreadContext context, RubyInteger x, long y) static RubyFixnum
Numeric.f_cmp
(ThreadContext context, RubyInteger x, RubyInteger y) static IRubyObject
Numeric.f_divmod
(ThreadContext context, RubyInteger x, IRubyObject y) static IRubyObject
Numeric.f_equal
(ThreadContext context, RubyInteger x, RubyInteger y) static RubyNumeric
Numeric.f_expt
(ThreadContext context, RubyInteger x, RubyInteger y) static RubyInteger
Numeric.f_gcd
(ThreadContext context, RubyInteger x, RubyInteger y) static boolean
Numeric.f_gt_p
(ThreadContext context, RubyInteger x, RubyInteger y) static RubyInteger
Numeric.f_idiv
(ThreadContext context, RubyInteger x, RubyInteger y) static boolean
Numeric.f_lt_p
(ThreadContext context, RubyInteger x, RubyInteger y) static RubyInteger
Numeric.f_mul
(ThreadContext context, RubyInteger x, RubyInteger y) static RubyInteger
Numeric.f_negate
(ThreadContext context, RubyInteger x) static boolean
Numeric.f_negative_p
(ThreadContext context, RubyInteger x) static RubyInteger
Numeric.f_sub
(ThreadContext context, RubyInteger x, RubyInteger y) static RubyNumeric
Numeric.f_to_r
(ThreadContext context, RubyInteger x) static IRubyObject
Numeric.f_xor
(ThreadContext context, RubyInteger x, RubyInteger y) static boolean
Numeric.f_zero_p
(ThreadContext context, RubyInteger x) static long
Numeric.i_ilog2
(ThreadContext context, RubyInteger x)
Convert.asInteger(ThreadContext, double)
instead.