Save This Page
Home » jruby-src-1.1.3 » org.jruby » [javadoc | source]
org.jruby
abstract public class: RubyInteger [javadoc | source]
java.lang.Object
   org.jruby.RubyObject
      org.jruby.RubyNumeric
         org.jruby.RubyInteger

All Implemented Interfaces:
    VALUE

Direct Known Subclasses:
    RubyBignum, RubyFixnum

Implementation of the Integer class.
Fields inherited from org.jruby.RubyNumeric:
NUMERIC_ALLOCATOR,  DBL_EPSILON
Constructor:
 public RubyInteger(Ruby runtime,
    RubyClass rubyClass) 
 public RubyInteger(Ruby runtime,
    RubyClass rubyClass,
    boolean useObjectSpace) 
Method from org.jruby.RubyInteger Summary:
chr,   convertToInteger,   createIntegerClass,   downto,   even_p,   induced_from,   integer_p,   odd_p,   pred,   succ,   times,   toFloat,   to_i,   upto
Methods from org.jruby.RubyNumeric:
abs,   asNumeric,   callCoerced,   callCoerced,   ceil,   checkInt,   coerce,   coerceBin,   coerceBody,   coerceCmp,   coerceRelOp,   createNumericClass,   dbl2num,   dbl_cmp,   div,   divmod,   doCoerce,   eql_p,   fix2int,   fix2long,   floor,   getCoerced,   getDoubleValue,   getLongValue,   initialize_copy,   int2fix,   integer_p,   modulo,   newNumeric,   nonzero_p,   num2chr,   num2dbl,   num2fix,   num2int,   num2long,   op_cmp,   op_num_equal,   op_uminus,   op_uplus,   quo,   remainder,   round,   sadded,   step,   step,   step,   str2fnum,   str2fnum,   str2inum,   str2inum,   to_int,   truncate,   zero_p
Methods from org.jruby.RubyObject:
callInit,   defineSingletonMethod,   funcall,   funcall,   funcall,   funcall3,   getClassVarSingleton,   getInstanceVar,   getInstanceVar,   getInstanceVariables,   getRuby,   getRubyClass,   getSingletonClass,   infectObject,   isFalse,   isFrozen,   isImmediate,   isInstanceVarDefined,   isNil,   isSpecialConst,   isTaint,   isTrue,   m_clone,   m_dup,   m_equal,   m_freeze,   m_frozen,   m_id,   m_inspect,   m_instance_of,   m_kind_of,   m_methods,   m_private_methods,   m_protected_methods,   m_singleton_methods,   m_taint,   m_tainted,   m_to_s,   m_type,   m_untaint,   setFrozen,   setImmediate,   setInstanceVar,   setInstanceVar,   setInstanceVariables,   setRuby,   setRubyClass,   setTaint,   setupClone,   setupObject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jruby.RubyInteger Detail:
 public RubyString chr() 
    int_chr
 public RubyInteger convertToInteger() 
 public static RubyClass createIntegerClass(Ruby runtime) 
 public IRubyObject downto(ThreadContext context,
    IRubyObject to,
    Block block) 
    int_downto
 public static RubyBoolean even_p(ThreadContext context,
    IRubyObject recv) 
 public static IRubyObject induced_from(ThreadContext context,
    IRubyObject recv,
    IRubyObject other) 
    rb_int_induced_from
 public IRubyObject integer_p() 
    int_int_p
 public static RubyBoolean odd_p(ThreadContext context,
    IRubyObject recv) 
 public static IRubyObject pred(ThreadContext context,
    IRubyObject recv) 
 public IRubyObject succ(ThreadContext context) 
    int_succ
 public IRubyObject times(ThreadContext context,
    Block block) 
 protected RubyFloat toFloat() 
 public RubyInteger to_i() 
    int_to_i
 public IRubyObject upto(ThreadContext context,
    IRubyObject to,
    Block block) 
    int_upto