Package | Description |
---|---|
org.jruby | |
org.jruby.ext.bigdecimal | |
org.jruby.ext.date | |
org.jruby.ext.thread | |
org.jruby.javasupport | |
org.jruby.javasupport.ext | |
org.jruby.util |
Modifier and Type | Class and Description |
---|---|
class |
RubyBignum |
class |
RubyComplex
complex.c as of revision: 20011
|
class |
RubyFixnum
Implementation of the Integer (Fixnum internal) class.
|
class |
RubyFloat
A representation of a float object
|
class |
RubyInteger
Implementation of the Integer class.
|
class |
RubyRational
Ruby Rational impl (MRI: rational.c).
|
Modifier and Type | Method and Description |
---|---|
RubyNumeric |
RubyNumeric.asNumeric() |
static RubyNumeric |
RubyNumeric.int2fix(Ruby runtime,
long val) |
static RubyNumeric |
RubyNumeric.intervalStepSize(ThreadContext context,
IRubyObject from,
IRubyObject to,
IRubyObject step,
boolean excl) |
static RubyNumeric |
RubyRational.newInstance(ThreadContext context,
RubyInteger num) |
static RubyNumeric |
RubyRational.newInstance(ThreadContext context,
RubyInteger num,
RubyInteger den) |
RubyNumeric |
Ruby.newNumeric() |
static RubyNumeric |
RubyNumeric.newNumeric(Ruby runtime) |
RubyNumeric |
RubyRational.op_div(ThreadContext context,
RubyInteger other) |
RubyNumeric |
RubyRational.op_minus(ThreadContext context,
RubyRational other) |
RubyNumeric |
RubyRational.op_plus(ThreadContext context,
RubyRational other) |
RubyNumeric |
RubyInteger.roundShared(ThreadContext context,
int ndigits,
java.math.RoundingMode roundingMode) |
RubyNumeric |
RubyTime.subsec(ThreadContext context) |
static RubyNumeric |
RubyBignum.unmarshalFrom(UnmarshalStream input) |
Modifier and Type | Method and Description |
---|---|
protected 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) |
Modifier and Type | Class and Description |
---|---|
class |
RubyBigDecimal |
Modifier and Type | Method and Description |
---|---|
RubyNumeric |
RubyBigDecimal.multiplyWith(ThreadContext context,
RubyBignum value) |
RubyNumeric |
RubyBigDecimal.multiplyWith(ThreadContext context,
RubyFloat value) |
RubyNumeric |
RubyBigDecimal.multiplyWith(ThreadContext context,
RubyInteger value) |
Modifier and Type | Method and Description |
---|---|
RubyNumeric |
RubyDate.day_fraction(ThreadContext context) |
static RubyNumeric |
RubyDate.jd_to_ajd(ThreadContext context,
IRubyObject self,
IRubyObject[] args) |
RubyNumeric |
RubyDate.sec_fraction(ThreadContext context) |
Modifier and Type | Method and Description |
---|---|
RubyNumeric |
Queue.length(ThreadContext context) |
RubyNumeric |
SizedQueue.max(ThreadContext context) |
RubyNumeric |
SizedQueue.num_waiting(ThreadContext context) |
RubyNumeric |
Queue.num_waiting(ThreadContext context) |
Modifier and Type | Method and Description |
---|---|
T |
JavaUtil.NumericConverter.coerce(RubyNumeric numeric,
java.lang.Class<T> target) |
Modifier and Type | Method and Description |
---|---|
static RubyNumeric |
JavaUtil.Collection.length(ThreadContext context,
IRubyObject self) |
Modifier and Type | Method and Description |
---|---|
static RubyNumeric |
Numeric.f_expt(ThreadContext context,
RubyInteger x,
RubyInteger y) |
static RubyNumeric |
Numeric.f_to_r(ThreadContext context,
RubyInteger x) |
static RubyNumeric |
Numeric.int_pow(ThreadContext context,
long x,
long y) |
Modifier and Type | Method and Description |
---|---|
RubyString |
RubyDateFormatter.compileAndFormat(RubyString pattern,
boolean dateLibrary,
org.joda.time.DateTime dt,
long nsec,
RubyNumeric sub_millis)
Convenience method when using no pattern caching
|
static boolean |
Numeric.f_integer_p(ThreadContext context,
RubyNumeric x) |
RubyString |
RubyDateFormatter.format(java.util.List<RubyDateFormatter.Token> compiledPattern,
org.joda.time.DateTime dt,
long nsec,
RubyNumeric sub_millis) |
Copyright © 2001-2018 JRuby. All Rights Reserved.