Uses of Class
org.jruby.RubyArray

Packages that use RubyArray
org.jruby   
org.jruby.ast.executable   
org.jruby.ast.util   
org.jruby.evaluator   
org.jruby.java.addons   
org.jruby.javasupport   
org.jruby.javasupport.proxy   
org.jruby.javasupport.util   
org.jruby.runtime.builtin   
org.jruby.runtime.load   
org.jruby.util   
 

Uses of RubyArray in org.jruby
 

Methods in org.jruby that return RubyArray
 RubyArray RubySymbol.SymbolTable.all_symbols()
           
 RubyArray RubyModule.ancestors()
          Deprecated. 
 RubyArray RubyModule.ancestors(ThreadContext context)
          rb_mod_ancestors
 RubyArray RubyArray.append(IRubyObject item)
          rb_ary_push - specialized rb_ary_store
 RubyArray RubyArray.aryDup()
          rb_ary_dup
 RubyArray RubyModule.class_variables(ThreadContext context)
          rb_mod_class_variables
 RubyArray RubyArray.collect_bang(ThreadContext context, Block block)
          rb_ary_collect_bang
 RubyArray RubyArray.collect(ThreadContext context, Block block)
          rb_ary_collect
 RubyArray RubyArray.concat(IRubyObject obj)
          rb_ary_concat
 RubyArray RubyModule.constants(ThreadContext context)
          rb_mod_constants
 RubyArray RubyArray.convertToArray()
           
 RubyArray RubyBasicObject.convertToArray()
          Tries to convert this object to a Ruby Array using the "to_ary" method.
static RubyArray RubyIconv.convertWithArgs(ThreadContext context, IRubyObject recv, IRubyObject[] args, java.lang.String function)
           
protected  RubyArray RubyNumeric.doCoerce(ThreadContext context, IRubyObject other, boolean err)
          do_coerce
 RubyArray RubyDir.entries()
           
static RubyArray RubyDir.entries(IRubyObject recv, IRubyObject path)
          Returns an array containing all of the filenames in the given directory.
static RubyArray RubyMath.frexp(IRubyObject recv, IRubyObject other)
           
static RubyArray RubyKernel.global_variables(ThreadContext context, IRubyObject recv)
          Returns an Array with the names of all global variables.
 RubyArray RubyModule.included_modules(ThreadContext context)
          rb_mod_included_modules
 RubyArray RubyHash.indices(ThreadContext context, IRubyObject[] indices)
          rb_hash_indexes
 RubyArray RubyModule.instance_methods(IRubyObject[] args)
           
 RubyArray RubyModule.instance_methods19(IRubyObject[] args)
           
 RubyArray RubyObject.instance_variables(ThreadContext context)
          rb_obj_instance_variables call-seq: obj.instance_variables => array Returns an array of instance variable names for the receiver.
 RubyArray RubyHash.keys()
          rb_hash_keys
 RubyArray RubyThread.keys()
           
static RubyArray RubyThread.list(IRubyObject recv)
           
static RubyArray RubyKernel.local_variables(ThreadContext context, IRubyObject recv)
          Returns an Array with the names of all local variables.
 RubyArray RubyStruct.members()
           
static RubyArray RubyStruct.members(IRubyObject recv, Block block)
           
static RubyArray RubyModule.nesting(ThreadContext context, IRubyObject recv, Block block)
          Return an array of nested modules or classes.
 RubyArray Ruby.newArray()
           
 RubyArray Ruby.newArray(int size)
           
 RubyArray Ruby.newArray(IRubyObject object)
           
 RubyArray Ruby.newArray(IRubyObject[] objects)
           
 RubyArray Ruby.newArray(IRubyObject car, IRubyObject cdr)
           
 RubyArray Ruby.newArray(java.util.List<IRubyObject> list)
           
static RubyArray RubyArray.newArray(Ruby runtime)
          rb_ary_new
static RubyArray RubyArray.newArray(Ruby runtime, java.util.Collection<IRubyObject> collection)
           
static RubyArray RubyArray.newArray(Ruby runtime, IRubyObject obj)
           
static RubyArray RubyArray.newArray(Ruby runtime, IRubyObject[] args)
          rb_ary_new4, rb_ary_new3
static RubyArray RubyArray.newArray(Ruby runtime, IRubyObject car, IRubyObject cdr)
          rb_assoc_new
static RubyArray RubyArray.newArray(Ruby runtime, long len)
          rb_ary_new2
 RubyArray Ruby.newArrayLight()
           
static RubyArray RubyArray.newArrayLight(Ruby runtime)
          rb_ary_new
static RubyArray RubyArray.newArrayLight(Ruby runtime, IRubyObject... objs)
           
static RubyArray RubyArray.newArrayLight(Ruby runtime, IRubyObject obj)
           
static RubyArray RubyArray.newArrayLight(Ruby runtime, long len)
           
 RubyArray Ruby.newArrayNoCopy(IRubyObject[] objects)
           
static RubyArray RubyArray.newArrayNoCopy(Ruby runtime, IRubyObject[] args)
           
static RubyArray RubyArray.newArrayNoCopy(Ruby runtime, IRubyObject[] args, int begin)
           
static RubyArray RubyArray.newArrayNoCopy(Ruby runtime, IRubyObject[] args, int begin, int length)
           
 RubyArray Ruby.newArrayNoCopyLight(IRubyObject[] objects)
           
static RubyArray RubyArray.newArrayNoCopyLight(Ruby runtime, IRubyObject[] args)
           
 RubyArray Ruby.newEmptyArray()
           
static RubyArray RubyArray.newEmptyArray(Ruby runtime)
           
 RubyArray RubyModule.private_instance_methods(IRubyObject[] args)
          rb_class_private_instance_methods
 RubyArray RubyModule.private_instance_methods19(IRubyObject[] args)
           
 RubyArray RubyModule.protected_instance_methods(IRubyObject[] args)
          rb_class_protected_instance_methods
 RubyArray RubyModule.protected_instance_methods19(IRubyObject[] args)
           
 RubyArray RubyModule.public_instance_methods(IRubyObject[] args)
           
 RubyArray RubyModule.public_instance_methods19(IRubyObject[] args)
           
 RubyArray RubyArray.push_m(IRubyObject[] items)
          rb_ary_push_m FIXME: Whis is this named "push_m"?
 RubyArray RubyHash.rb_values()
          rb_hash_values
 RubyArray RubyIO.readlines(ThreadContext context, IRubyObject[] args)
           
static RubyArray RubyIO.readlines(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
 RubyArray RubyArray.select(ThreadContext context, Block block)
          rb_ary_select
 RubyArray RubyStruct.select(ThreadContext context, Block block)
           
 RubyArray RubyObject.singleton_methods(ThreadContext context, IRubyObject[] args)
          rb_obj_singleton_methods call-seq: obj.singleton_methods(all=true) => array Returns an array of the names of singleton methods for obj.
 RubyArray RubyObject.singleton_methods19(ThreadContext context, IRubyObject[] args)
           
 RubyArray RubyObject.singletonMethods(ThreadContext context, IRubyObject[] args, boolean asSymbols)
           
 RubyArray RubyArray.sort_bang(Block block)
          rb_ary_sort_bang
 RubyArray RubyArray.sort(Block block)
          rb_ary_sort
 RubyArray RubyHash.sort(Block block)
          rb_hash_sort
 RubyArray RubyBigDecimal.split()
           
 RubyArray RubyString.split(ThreadContext context)
          rb_str_split_m
 RubyArray RubyString.split(ThreadContext context, IRubyObject arg0)
           
 RubyArray RubyString.split(ThreadContext context, IRubyObject[] args)
          Deprecated. Use the versions with zero, one, or two args.
static RubyArray RubyFile.split(ThreadContext context, IRubyObject recv, IRubyObject arg)
           
 RubyArray RubyString.split(ThreadContext context, IRubyObject arg0, IRubyObject arg1)
           
 RubyArray RubyArray.to_a()
          rb_ary_to_a
 RubyArray RubyHash.to_a()
          rb_hash_to_a
 RubyArray RubyMatchData.to_a()
          match_to_a
 RubyArray RubyObject.to_a()
          rb_any_to_a call-seq: obj.to_a -> anArray Returns an array representation of obj.
 RubyArray RubyStruct.to_a()
           
 RubyArray RubyTime.to_a()
           
static RubyArray RubyNil.to_a(IRubyObject recv)
          nil_to_a
 RubyArray RubyArray.transpose()
          rb_ary_transpose
static RubyArray RubyArray.unmarshalFrom(UnmarshalStream input)
           
 RubyArray RubyString.unpack(IRubyObject obj)
           
 RubyArray RubyArray.unshift_m(IRubyObject[] items)
          rb_ary_unshift_m
 RubyArray RubyArray.unshift(IRubyObject item)
          rb_ary_unshift
 RubyArray RubyHash.values_at(ThreadContext context, IRubyObject[] args)
          rb_hash_values_at
 

Methods in org.jruby with parameters of type RubyArray
static void RubyArray.marshalTo(RubyArray array, MarshalStream output)
           
 

Constructors in org.jruby with parameters of type RubyArray
RubyEnumerable.AppendBlockCallback(Ruby runtime, RubyArray result)
           
 

Uses of RubyArray in org.jruby.ast.executable
 

Constructors in org.jruby.ast.executable with parameters of type RubyArray
RubiniusCMethod(RubyArray obj)
           
 

Uses of RubyArray in org.jruby.ast.util
 

Methods in org.jruby.ast.util that return RubyArray
static RubyArray ArgsUtil.convertToRubyArray(Ruby runtime, IRubyObject value, boolean coerce)
          This name may be a bit misleading, since this also attempts to coerce array behavior using to_ary.
static RubyArray ArgsUtil.convertToRubyArrayWithCoerce(Ruby runtime, IRubyObject value)
           
 

Uses of RubyArray in org.jruby.evaluator
 

Methods in org.jruby.evaluator that return RubyArray
static RubyArray ASTInterpreter.arrayValue(Ruby runtime, IRubyObject value)
          Deprecated. 
 RubyArray ValueConverter.singleToArray(IRubyObject value)
           
 RubyArray ValueConverter.singleToMultiple(IRubyObject value)
           
static RubyArray ASTInterpreter.splatValue(IRubyObject value, Ruby runtime)
          Deprecated. 
static RubyArray ASTInterpreter.splatValue(Ruby runtime, IRubyObject value)
          Deprecated. 
 

Methods in org.jruby.evaluator with parameters of type RubyArray
static IRubyObject AssignmentVisitor.multiAssign(Ruby runtime, ThreadContext context, IRubyObject self, MultipleAsgn19Node node, RubyArray value)
           
static IRubyObject AssignmentVisitor.multiAssign(Ruby runtime, ThreadContext context, IRubyObject self, MultipleAsgn19Node node, RubyArray value, boolean checkArity)
           
static IRubyObject AssignmentVisitor.multiAssign(Ruby runtime, ThreadContext context, IRubyObject self, MultipleAsgnNode node, RubyArray value, boolean checkArity)
           
 

Uses of RubyArray in org.jruby.java.addons
 

Methods in org.jruby.java.addons with parameters of type RubyArray
static void ArrayJavaAddons.copyDataToJavaArray(ThreadContext context, RubyArray rubyArray, int src, JavaArray javaArray, int dest, int length)
           
static void ArrayJavaAddons.copyDataToJavaArray(ThreadContext context, RubyArray rubyArray, JavaArray javaArray)
           
 

Uses of RubyArray in org.jruby.javasupport
 

Methods in org.jruby.javasupport that return RubyArray
 RubyArray JavaCallable.argument_types()
           
 RubyArray JavaClass.classes()
           
 RubyArray JavaClass.constructors()
           
 RubyArray JavaClass.declared_class_methods()
           
 RubyArray JavaClass.declared_classes()
           
 RubyArray JavaClass.declared_constructors()
           
 RubyArray JavaClass.declared_fields()
           
 RubyArray JavaClass.declared_instance_methods()
           
 RubyArray JavaClass.fields()
           
static RubyArray JavaClass.getRubyArray(Ruby runtime, java.lang.Class<?>[] classes)
           
 RubyArray JavaClass.interfaces()
           
 RubyArray JavaClass.java_class_methods()
           
 RubyArray JavaClass.java_instance_methods()
           
 

Uses of RubyArray in org.jruby.javasupport.proxy
 

Methods in org.jruby.javasupport.proxy that return RubyArray
 RubyArray JavaProxyClass.ProxyMethodImpl.argument_types()
           
 RubyArray JavaProxyConstructor.argument_types()
           
protected  RubyArray JavaProxyReflectionObject.buildRubyArray(java.lang.Class[] classes)
           
protected  RubyArray JavaProxyReflectionObject.buildRubyArray(IRubyObject[] constructors)
           
 RubyArray JavaProxyClass.constructors()
           
 RubyArray JavaProxyClass.interfaces()
           
 RubyArray JavaProxyClass.methods()
           
 

Uses of RubyArray in org.jruby.javasupport.util
 

Methods in org.jruby.javasupport.util that return RubyArray
static RubyArray RuntimeHelpers.arrayValue(IRubyObject value)
           
static RubyArray RuntimeHelpers.createSubarray(IRubyObject[] input, Ruby runtime, int start)
           
static RubyArray RuntimeHelpers.createSubarray(RubyArray input, int start)
           
static RubyArray RuntimeHelpers.ensureMultipleAssignableRubyArray(IRubyObject value, Ruby runtime, boolean masgnHasHead)
           
static RubyArray RuntimeHelpers.ensureRubyArray(IRubyObject value)
           
static RubyArray RuntimeHelpers.ensureRubyArray(Ruby runtime, IRubyObject value)
           
static RubyArray RuntimeHelpers.splatValue(IRubyObject value)
           
static RubyArray RuntimeHelpers.subarrayOrEmpty(RubyArray array, Ruby runtime, int index)
           
 

Methods in org.jruby.javasupport.util with parameters of type RubyArray
static IRubyObject RuntimeHelpers.arrayEntryOrNil(RubyArray array, IRubyObject nil, int index)
           
static RubyArray RuntimeHelpers.createSubarray(RubyArray input, int start)
           
static RubyArray RuntimeHelpers.subarrayOrEmpty(RubyArray array, Ruby runtime, int index)
           
 

Uses of RubyArray in org.jruby.runtime.builtin
 

Methods in org.jruby.runtime.builtin that return RubyArray
 RubyArray IRubyObject.convertToArray()
          Methods which perform to_xxx if the object has such a method
 

Uses of RubyArray in org.jruby.runtime.load
 

Fields in org.jruby.runtime.load declared as RubyArray
protected  RubyArray LoadService.loadedFeatures
           
protected  RubyArray LoadService.loadPath
           
 

Uses of RubyArray in org.jruby.util
 

Methods in org.jruby.util that return RubyArray
static RubyArray Pack.unpack(Ruby runtime, ByteList encodedString, ByteList formatString)
          Decodes str (which may contain binary data) according to the format string, returning an array of each value extracted.
 

Methods in org.jruby.util with parameters of type RubyArray
static void Pack.decode(Ruby runtime, java.nio.ByteBuffer encode, int occurrences, RubyArray result, Pack.Converter converter)
           
static int Pack.encode(Ruby runtime, int occurrences, ByteList result, RubyArray list, int index, Pack.Converter converter)
           
static RubyString Pack.pack(Ruby runtime, RubyArray list, ByteList formatString)
          pack_pack Template characters for Array#pack Directive Meaning
Directive Meaning @ Moves to absolute position A ASCII string (space padded, count is width) a ASCII string (null padded, count is width) B Bit string (descending bit order) b Bit string (ascending bit order) C Unsigned char c Char d Double-precision float, native format E Double-precision float, little-endian byte order e Single-precision float, little-endian byte order f Single-precision float, native format G Double-precision float, network (big-endian) byte order g Single-precision float, network (big-endian) byte order H Hex string (high nibble first) h Hex string (low nibble first) I Unsigned integer i Integer L Unsigned long l Long M Quoted printable, MIME encoding (see RFC2045) m Base64 encoded string N Long, network (big-endian) byte order n Short, network (big-endian) byte-order P Pointer to a structure (fixed-length string) p Pointer to a null-terminated string Q Unsigned 64-bit number q 64-bit number S Unsigned short s Short U UTF-8 u UU-encoded string V Long, little-endian byte order v Short, little-endian byte order X Back up a byte x Null byte Z Same as ``A'' Packs the contents of arr into a binary sequence according to the directives in aTemplateString (see preceding table).
 



Copyright © 2002-2007 JRuby Team. All Rights Reserved.