Modifier and Type | Method and Description |
---|---|
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 |
RubyArray.aryDup19() |
RubyArray |
RubyModule.class_variables(ThreadContext context)
rb_mod_class_variables
|
RubyArray |
RubyModule.class_variables19(ThreadContext context) |
RubyArray |
RubyArray.collectBang(ThreadContext context,
Block block)
rb_ary_collect_bang
|
RubyArray |
RubyArray.concat(IRubyObject obj)
rb_ary_concat
|
RubyArray |
RubyArray.concat19(IRubyObject obj) |
RubyArray |
RubyModule.constants(ThreadContext context) |
RubyArray |
RubyModule.constants19(ThreadContext context) |
RubyArray |
RubyModule.constants19(ThreadContext context,
IRubyObject allConstants) |
RubyArray |
RubyModule.constantsCommon19(ThreadContext context,
boolean replaceModule,
boolean allConstants) |
RubyArray |
RubyBasicObject.convertToArray()
Tries to convert this object to a Ruby Array using the "to_ary"
method.
|
RubyArray |
RubyArray.convertToArray() |
static RubyArray |
BasicObjectStub.convertToArray(IRubyObject self) |
protected RubyArray |
RubyNumeric.doCoerce(ThreadContext context,
IRubyObject other,
boolean err)
do_coerce
|
RubyArray |
RubyDir.entries() |
static RubyArray |
RubyDir.entries(ThreadContext context,
IRubyObject recv,
IRubyObject path)
Returns an array containing all of the filenames in the given directory.
|
static RubyArray |
RubyDir.entries19(ThreadContext context,
IRubyObject recv,
IRubyObject arg) |
static RubyArray |
RubyDir.entries19(ThreadContext context,
IRubyObject recv,
IRubyObject arg,
IRubyObject opts) |
static RubyArray |
RubyMath.frexp(IRubyObject recv,
IRubyObject other) |
static RubyArray |
RubyMath.frexp19(IRubyObject recv,
IRubyObject other) |
RubyArray |
Ruby.getEmptyFrozenArray() |
static RubyArray |
RubyKernel.global_variables(ThreadContext context,
IRubyObject recv)
Returns an Array with the names of all global variables.
|
static RubyArray |
RubyKernel.global_variables19(ThreadContext context,
IRubyObject recv) |
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 |
RubyBasicObject.instance_variables(ThreadContext context)
rb_obj_instance_variables
call-seq:
obj.instance_variables => array
Returns an array of instance variable names for the receiver.
|
static RubyArray |
RubyKernel.instance_variables(ThreadContext context,
IRubyObject self) |
RubyArray |
RubyBasicObject.instance_variables19(ThreadContext context) |
static RubyArray |
RubyKernel.instance_variables19(ThreadContext context,
IRubyObject self) |
RubyArray |
RubyThread.keys() |
RubyArray |
RubyHash.keys()
rb_hash_keys
|
static RubyArray |
RubyMath.lgamma(IRubyObject recv,
IRubyObject x)
Based on Gergő Nemes's Gamma Function approximation formula, we compute
Log Gamma function for real number x.
|
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.
|
static RubyArray |
RubyKernel.local_variables19(ThreadContext context,
IRubyObject recv) |
RubyArray |
RubyStruct.members() |
static RubyArray |
RubyStruct.members(IRubyObject recv,
Block block) |
RubyArray |
RubyStruct.members19() |
static RubyArray |
RubyStruct.members19(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... objects) |
RubyArray |
Ruby.newArray(IRubyObject object) |
RubyArray |
Ruby.newArray(IRubyObject car,
IRubyObject cdr) |
RubyArray |
Ruby.newArray(List<IRubyObject> list) |
static RubyArray |
RubyArray.newArray(Ruby runtime)
rb_ary_new
|
static RubyArray |
RubyArray.newArray(Ruby runtime,
Collection<? extends IRubyObject> collection) |
static RubyArray |
RubyArray.newArray(Ruby runtime,
int len) |
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,
int len) |
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 - instance method push
|
RubyArray |
RubyArray.push_m19(IRubyObject[] items) |
RubyArray |
RubyHash.rb_values()
rb_hash_values
|
RubyArray |
RubyIO.readlines(ThreadContext context,
IRubyObject[] args) |
RubyArray |
RubyIO.readlines19(ThreadContext context,
IRubyObject[] args) |
RubyArray |
RubyStruct.select18(ThreadContext context,
Block block) |
RubyArray |
RubyStruct.selectCommon(ThreadContext context,
Block block) |
RubyArray |
RubyBasicObject.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.
|
static RubyArray |
RubyKernel.singleton_methods(ThreadContext context,
IRubyObject self,
IRubyObject[] args) |
RubyArray |
RubyBasicObject.singleton_methods19(ThreadContext context,
IRubyObject[] args) |
static RubyArray |
RubyKernel.singleton_methods19(ThreadContext context,
IRubyObject self,
IRubyObject[] args) |
RubyArray |
RubyArray.sort(ThreadContext context,
Block block)
rb_ary_sort
|
RubyArray |
RubyArray.sort19(ThreadContext context,
Block block) |
RubyArray |
RubyString.split(ThreadContext context)
rb_str_split_m
|
RubyArray |
RubyString.split(ThreadContext context,
IRubyObject arg0) |
RubyArray |
RubyString.split(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
static RubyArray |
RubyFile.split(ThreadContext context,
IRubyObject recv,
IRubyObject arg) |
RubyArray |
RubyString.split19(ThreadContext context) |
RubyArray |
RubyString.split19(ThreadContext context,
IRubyObject arg0) |
RubyArray |
RubyString.split19(ThreadContext context,
IRubyObject arg0,
boolean useBackref) |
RubyArray |
RubyString.split19(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
RubyArray |
RubyTime.to_a() |
RubyArray |
RubyStruct.to_a() |
RubyArray |
RubyMatchData.to_a()
match_to_a
|
RubyArray |
RubyHash.to_a()
rb_hash_to_a
|
RubyArray |
RubyBasicObject.to_a()
rb_any_to_a
call-seq:
obj.to_a -> anArray
Returns an array representation of obj.
|
RubyArray |
RubyArray.to_a()
rb_ary_to_a
|
static RubyArray |
RubyKernel.to_a(IRubyObject self) |
static RubyArray |
RubyNil.to_a(ThreadContext context,
IRubyObject recv)
nil_to_a
|
RubyArray |
RubyArray.transpose()
rb_ary_transpose
|
static RubyArray |
RubyArray.unmarshalFrom(UnmarshalStream input) |
RubyArray |
RubyString.unpack(IRubyObject obj) |
RubyArray |
RubyHash.values_at(ThreadContext context,
IRubyObject[] args)
rb_hash_values_at
|
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
RubyEnumerable.collectCommon(ThreadContext context,
Ruby runtime,
IRubyObject self,
RubyArray result,
Block block,
BlockCallback blockCallback) |
static void |
RubyArray.marshalTo(RubyArray array,
MarshalStream output) |
void |
RubyModule.populateInstanceMethodNames(Set<String> seen,
RubyArray ary,
Visibility visibility,
boolean not,
boolean useSymbols,
boolean includeSuper) |
Constructor and Description |
---|
RubyEnumerable.AppendBlockCallback(Ruby runtime,
RubyArray result) |
Modifier and Type | Method and Description |
---|---|
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.convertToRubyArray19(Ruby runtime,
IRubyObject value,
boolean coerce) |
static RubyArray |
ArgsUtil.convertToRubyArrayWithCoerce(Ruby runtime,
IRubyObject value) |
static RubyArray |
ArgsUtil.convertToRubyArrayWithCoerce19(Ruby runtime,
IRubyObject value) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
JRuby.yield(Ruby runtime,
RubyArray args)
rb_yield
|
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
RubyArray |
RubyBigDecimal.split() |
Modifier and Type | Method and Description |
---|---|
protected static RubyArray |
AbstractMemory.checkArray(IRubyObject obj) |
Modifier and Type | Method and Description |
---|---|
static void |
MemoryUtil.putArrayOfFloat32(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfFloat64(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfSigned16(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfSigned32(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfSigned64(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfSigned8(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfUnsigned16(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfUnsigned32(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfUnsigned64(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfUnsigned8(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
Modifier and Type | Method and Description |
---|---|
static RubyArray |
RubyIconv.convertWithArgs(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
String function) |
Modifier and Type | Method and Description |
---|---|
RubyArray |
UndefinedValue.convertToArray()
Methods which perform to_xxx if the object has such a method
|
Modifier and Type | Method and Description |
---|---|
static void |
ArrayJavaAddons.copyDataToJavaArray(ThreadContext context,
RubyArray rubyArray,
JavaArray javaArray)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RubyArray |
MapJavaProxy.indices(ThreadContext context,
IRubyObject[] indices)
rb_hash_indexes
|
RubyArray |
MapJavaProxy.keys()
rb_hash_keys
|
RubyArray |
MapJavaProxy.rb_values()
rb_hash_values
|
RubyArray |
MapJavaProxy.to_a()
rb_hash_to_a
|
RubyArray |
ArrayJavaProxy.to_a(ThreadContext context) |
RubyArray |
MapJavaProxy.values_at(ThreadContext context,
IRubyObject[] args)
rb_hash_values_at
|
Modifier and Type | Method and Description |
---|---|
static void |
ArrayUtils.copyDataToJavaArray(ThreadContext context,
RubyArray rubyArray,
int src,
JavaArray javaArray,
int dest,
int length) |
static void |
ArrayUtils.copyDataToJavaArrayDirect(ThreadContext context,
RubyArray rubyArray,
Object javaArray) |
Modifier and Type | Method and Description |
---|---|
RubyArray |
JavaClass.classes() |
RubyArray |
JavaClass.constructors() |
static RubyArray |
JavaUtil.convertJavaArrayToRubyWithNesting(ThreadContext context,
Object array) |
RubyArray |
JavaClass.declared_class_methods() |
RubyArray |
JavaClass.declared_classes() |
RubyArray |
JavaClass.declared_constructors() |
RubyArray |
JavaClass.declared_fields() |
RubyArray |
JavaClass.declared_instance_methods() |
RubyArray |
JavaCallable.exception_types() |
RubyArray |
JavaClass.fields() |
static RubyArray |
JavaClass.getRubyArray(Ruby runtime,
Class<?>[] classes)
Deprecated.
|
RubyArray |
JavaClass.interfaces() |
RubyArray |
JavaClass.java_class_methods() |
RubyArray |
JavaClass.java_instance_methods() |
RubyArray |
JavaCallable.parameter_types() |
static RubyArray |
JavaClass.toRubyArray(Ruby runtime,
Class<?>[] classes) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
JavaClass.javaArrayFromRubyArray(ThreadContext context,
RubyArray fromArray) |
Object |
JavaClass.javaArrayFromRubyArrayDirect(ThreadContext context,
RubyArray fromArray) |
Modifier and Type | Method and Description |
---|---|
RubyArray |
JavaProxyConstructor.argument_types() |
RubyArray |
JavaProxyClass.ProxyMethodImpl.argument_types() |
protected RubyArray |
JavaProxyReflectionObject.buildRubyArray(Class<?>[] classes)
Deprecated.
|
protected RubyArray |
JavaProxyReflectionObject.buildRubyArray(IRubyObject[] elements)
Deprecated.
|
RubyArray |
JavaProxyClass.constructors() |
RubyArray |
JavaProxyClass.interfaces() |
RubyArray |
JavaProxyClass.methods() |
Modifier and Type | Method and Description |
---|---|
static RubyArray |
Helpers.argsPush(RubyArray first,
IRubyObject second) |
static IRubyObject |
Helpers.arrayEntryOrNil(RubyArray array,
int index) |
static IRubyObject |
Helpers.arrayEntryOrNilOne(RubyArray array) |
static IRubyObject |
Helpers.arrayEntryOrNilTwo(RubyArray array) |
static IRubyObject |
Helpers.arrayEntryOrNilZero(RubyArray array) |
static IRubyObject |
Helpers.arrayPostOrNil(RubyArray array,
int pre,
int post,
int index) |
static IRubyObject |
Helpers.arrayPostOrNilOne(RubyArray array,
int pre,
int post) |
static IRubyObject |
Helpers.arrayPostOrNilTwo(RubyArray array,
int pre,
int post) |
static IRubyObject |
Helpers.arrayPostOrNilZero(RubyArray array,
int pre,
int post) |
static RubyArray |
Helpers.createSubarray(RubyArray input,
int start) |
static RubyArray |
Helpers.createSubarray(RubyArray input,
int start,
int post) |
static void |
Helpers.irCheckArgsArrayArity(ThreadContext context,
RubyArray args,
int required,
int opt,
int rest) |
static IRubyObject |
Helpers.irReqdArgMultipleAsgn(ThreadContext context,
RubyArray rubyArray,
int preArgsCount,
int index,
int postArgsCount) |
static RubyArray |
Helpers.subarrayOrEmpty(RubyArray array,
Ruby runtime,
int index) |
static RubyArray |
Helpers.subarrayOrEmpty(RubyArray array,
Ruby runtime,
int index,
int post) |
Modifier and Type | Method and Description |
---|---|
static void |
TraceType.dumpCaller(RubyArray trace) |
Modifier and Type | Method and Description |
---|---|
RubyArray |
IRubyObject.convertToArray()
Methods which perform to_xxx if the object has such a method
|
Modifier and Type | Field and Description |
---|---|
protected RubyArray |
LoadService.loadedFeaturesDup |
protected RubyArray |
LoadService.loadPath |
Modifier and Type | Method and Description |
---|---|
static RubyArray |
TypeConverter.rb_Array(ThreadContext context,
IRubyObject val) |
static RubyArray |
TypeConverter.to_ary(ThreadContext context,
IRubyObject ary) |
static RubyArray |
Pack.unpack(Ruby runtime,
org.jruby.util.ByteList encodedString,
org.jruby.util.ByteList formatString)
Decodes str (which may contain binary data) according to the format
string, returning an array of each value extracted.
|
Modifier and Type | Method and Description |
---|---|
static void |
Pack.decode(Ruby runtime,
ByteBuffer encode,
int occurrences,
RubyArray result,
Pack.Converter converter) |
static int |
Pack.encode(Ruby runtime,
int occurrences,
org.jruby.util.ByteList result,
RubyArray list,
int index,
org.jruby.util.Pack.ConverterExecutor converter) |
static RubyString |
Pack.pack(Ruby runtime,
RubyArray list,
org.jruby.util.ByteList formatString)
Same as pack(Ruby, RubyArray, ByteList) but defaults tainting of output to false.
|
static RubyString |
Pack.pack(Ruby runtime,
RubyArray list,
org.jruby.util.ByteList formatString,
boolean taint)
pack_pack
Template characters for Array#pack Directive Meaning
Packs the contents of arr into a binary sequence according to the directives in
aTemplateString (see preceding table).
|
static RubyString |
Pack.pack19(ThreadContext context,
Ruby runtime,
RubyArray list,
RubyString formatString) |
Modifier and Type | Class and Description |
---|---|
class |
StringArraySet
An RubyArray that maintains an O(1) Set for fast include? operations.
|
Modifier and Type | Method and Description |
---|---|
RubyArray |
StringArraySet.append(IRubyObject item) |
RubyArray |
StringArraySet.collectBang(ThreadContext context,
Block block) |
RubyArray |
StringArraySet.push_m(IRubyObject[] items) |
RubyArray |
StringArraySet.push_m19(IRubyObject[] items) |
Copyright © 2001-2015 JRuby. All Rights Reserved.