Logo Search packages:      
Sourcecode: jruby1.0 version File versions

org::jruby::RubyRange Class Reference

Inheritance diagram for org::jruby::RubyRange:

org::jruby::RubyObject org::jruby::runtime::builtin::IRubyObject

List of all members.


Detailed Description

Author:
jpetersen

Definition at line 57 of file RubyRange.java.


Public Member Functions

void addFinalizer (RubyProc finalizer)
IRubyObject anyToString ()
RubyString asString ()
String asSymbol ()
void attachToObjectSpace ()
long[] begLen (long len, int err)
void callInit (IRubyObject[] args, Block block)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject arg)
IRubyObject callMethod (ThreadContext context, String name, Block block)
IRubyObject callMethod (ThreadContext context, int methodIndex, String name)
IRubyObject callMethod (ThreadContext context, String name)
IRubyObject callMethod (ThreadContext context, RubyModule rubyclass, String name, IRubyObject[] args, CallType callType, Block block)
IRubyObject callMethod (ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType, Block block)
IRubyObject callMethod (ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType)
IRubyObject callMethod (ThreadContext context, int methodIndex, String name, IRubyObject[] args, CallType callType)
IRubyObject callMethod (ThreadContext context, int methodIndex, String name, IRubyObject[] args)
IRubyObject callMethod (ThreadContext context, int methodIndex, String name, IRubyObject arg)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args, CallType callType, Block block)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args, CallType callType)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args, Block block)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args)
IRubyObject callSuper (ThreadContext context, IRubyObject[] args, Block block)
IRubyObject checkArrayType ()
IRubyObject checkStringType ()
IRubyObject compilerCallMethod (ThreadContext context, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
IRubyObject compilerCallMethodWithIndex (ThreadContext context, int methodIndex, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
RubyArray convertToArray ()
RubyFloat convertToFloat ()
RubyHash convertToHash ()
RubyInteger convertToInteger ()
RubyString convertToString ()
IRubyObject convertToType (RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raiseOnMissingMethod, boolean raiseOnWrongTypeResult, boolean allowNilThrough)
IRubyObject convertToType (RubyClass targetType, int convertMethodIndex, boolean raise)
IRubyObject convertToType (RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raise)
IRubyObject convertToTypeWithCheck (RubyClass targetType, int convertMethodIndex, String convertMethod)
synchronized Object dataGetStruct ()
synchronized void dataWrapStruct (Object obj)
IRubyObject display (IRubyObject[] args)
IRubyObject doClone ()
IRubyObject dup ()
IRubyObject each (Block block)
boolean eql (IRubyObject other)
IRubyObject eql_p (IRubyObject other)
final boolean eqlInternal (final ThreadContext context, final IRubyObject other)
IRubyObject equal (IRubyObject other)
IRubyObject equal (IRubyObject obj, Block block)
final IRubyObject equalInternal (final ThreadContext context, final IRubyObject other)
boolean equals (Object other)
IRubyObject evalSimple (ThreadContext context, IRubyObject src, String file)
IRubyObject evalUnder (RubyModule under, IRubyObject src, IRubyObject file, IRubyObject line)
IRubyObject evalWithBinding (ThreadContext context, IRubyObject src, IRubyObject scope, String file)
RubyBoolean exclude_end_p ()
IRubyObject extend (IRubyObject[] args)
IRubyObject first ()
IRubyObject freeze ()
RubyBoolean frozen ()
long[] getBeginLength (long limit, boolean truncate, boolean isStrict)
IRubyObject getInstanceVariable (String name)
Map getInstanceVariables ()
Map getInstanceVariablesSnapshot ()
Class getJavaClass ()
final RubyClass getMetaClass ()
int getNativeTypeIndex ()
Ruby getRuntime ()
RubyClass getSingletonClass ()
RubyClass getSingletonClassClone ()
RubyClass getType ()
RubyFixnum hash ()
int hashCode ()
synchronized RubyFixnum id ()
synchronized RubyFixnum id_deprecated ()
RubyBoolean include_p (IRubyObject obj, Block block)
IRubyObject infectBy (IRubyObject obj)
IRubyObject inherited (IRubyObject arg, Block block)
void init (IRubyObject aBegin, IRubyObject aEnd, RubyBoolean aIsExclusive)
IRubyObject initialize (IRubyObject[] args, Block unusedBlock)
IRubyObject initialize_copy (IRubyObject original)
IRubyObject inspect ()
IRubyObject inspect (Block block)
IRubyObject instance_eval (IRubyObject[] args, Block block)
IRubyObject instance_exec (IRubyObject[] args, Block block)
RubyBoolean instance_of (IRubyObject type)
IRubyObject instance_variable_get (IRubyObject var)
IRubyObject instance_variable_set (IRubyObject var, IRubyObject value)
RubyArray instance_variables ()
Iterator instanceVariableNames ()
final boolean isFalse ()
boolean isFrozen ()
boolean isImmediate ()
boolean isKindOf (RubyModule type)
boolean isNil ()
boolean isSingleton ()
boolean isTaint ()
final boolean isTrue ()
RubyBoolean kind_of (IRubyObject type)
IRubyObject last ()
RubyFixnum length (Block block)
RubyClass makeMetaClass (RubyClass superClass, SinglyLinkedList parentCRef)
IRubyObject match (IRubyObject arg)
IRubyObject method (IRubyObject symbol)
IRubyObject method_missing (IRubyObject[] args, Block block)
IRubyObject methods (IRubyObject[] args)
IRubyObject nil_p ()
IRubyObject obj_equal (IRubyObject obj)
IRubyObject private_methods ()
IRubyObject protected_methods ()
IRubyObject public_methods (IRubyObject[] args)
IRubyObject rbClone (Block unusedBlock)
IRubyObject remove_instance_variable (IRubyObject name, Block block)
void removeFinalizers ()
IRubyObject removeInstanceVariable (String name)
RubyBoolean respond_to (IRubyObject[] args)
boolean respondsTo (String name)
 RubyRange (Ruby runtime, RubyClass impl)
Map safeGetInstanceVariables ()
boolean safeHasInstanceVariables ()
IRubyObject send (IRubyObject[] args, Block block)
void setFrozen (boolean frozen)
IRubyObject setInstanceVariable (String name, IRubyObject value)
IRubyObject setInstanceVariable (String name, IRubyObject value, String taintError, String freezeError)
void setInstanceVariables (Map instanceVariables)
void setMetaClass (RubyClass metaClass)
void setTaint (boolean taint)
RubyArray singleton_methods (IRubyObject[] args)
IRubyObject specificEval (RubyModule mod, IRubyObject[] args, Block block)
IRubyObject step (IRubyObject[] args, Block block)
IRubyObject taint ()
RubyBoolean tainted ()
RubyArray to_a (Block block)
IRubyObject to_s ()
IRubyObject to_s (Block block)
String toString ()
RubyClass type ()
RubyClass type_deprecated ()
IRubyObject untaint ()

Static Public Member Functions

static IRubyObject callMethodMissingIfNecessary (ThreadContext context, IRubyObject receiver, DynamicMethod method, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
static RubyClass createObjectClass (Ruby runtime, RubyClass objectClass)
static RubyClass createRangeClass (Ruby runtime)
static void initCopy (IRubyObject clone, IRubyObject original)
static RubyRange newRange (Ruby runtime, IRubyObject begin, IRubyObject end, boolean isExclusive)
static void puts (Object obj)
static String trueFalseNil (String v)
static String trueFalseNil (IRubyObject v)

Static Public Attributes

static final IRubyObject NEVER = new RubyObject()
static final IRubyObject[] NULL_ARRAY = new IRubyObject[0]
static ObjectAllocator OBJECT_ALLOCATOR

Protected Member Functions

void checkFrozen ()
void testFrozen (String message)

Protected Attributes

Map instanceVariables
boolean isTrue = true
RubyClass metaClass

Private Member Functions

IRubyObject asString (String stringMethod)
boolean r_le (IRubyObject a, IRubyObject b)
boolean r_lt (IRubyObject a, IRubyObject b)

Private Attributes

IRubyObject begin
IRubyObject end
boolean isExclusive

Static Private Attributes

static byte[] DOTDOT = "..".getBytes()
static byte[] DOTDOTDOT = "...".getBytes()
static ObjectAllocator RANGE_ALLOCATOR
static final ObjectMarshal RANGE_MARSHAL

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index