Top Fields Constructors Methods
org.jruby.ir.targets.indy

public Class ArrayBootstrap

extends Object
Class Inheritance
Imports
com.headius.invokebinder.Binder, org.jruby.Ruby, .RubyArray, .RubyClass, org.jruby.api.Create, org.jruby.runtime.Helpers, .ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.specialized.RubyArrayOneObject, .RubyArraySpecialized, .RubyArrayTwoObject, org.jruby.util.func.ObjectObjectIntFunction, org.objectweb.asm.Handle, .Opcodes, java.lang.invoke.CallSite, .ConstantCallSite, .MethodHandle, .MethodHandles, .MethodType, .MutableCallSite, java.util.stream.IntStream

Field Summary

Modifier and TypeField and Description
public static final Handle
private static final MethodHandle
private static final MethodHandles.Lookup
public static final Handle

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static CallSite
public static RubyArray<T extends IRubyObject>
private static <ArrayType> RubyArray<T extends IRubyObject>
bindArray(ThreadContext context, MutableCallSite site, ArrayType values, int size, ObjectObjectIntFunction<Ruby, ArrayType, IRubyObject> mapper)

private static RubyArray<T extends IRubyObject>
private static RubyArray<T extends IRubyObject>
private static RubyArray<T extends IRubyObject>
bindArray(MutableCallSite site, RubyClass arrayClass, IRubyObject[] values)

public static RubyArray<T extends IRubyObject>
fixnumArray(ThreadContext context, MutableCallSite site, long[] values)

public static RubyArray<T extends IRubyObject>
floatArray(ThreadContext context, MutableCallSite site, double[] values)

public static CallSite
literalArray(MethodHandles.Lookup lookup, String name, MethodType type, String stringValues)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ARRAY_Hback to summary
public static final Handle ARRAY_H
ARRAY_HANDLEback to summary
private static final MethodHandle ARRAY_HANDLE
LOOKUPback to summary
private static final MethodHandles.Lookup LOOKUP
NUMERIC_ARRAYback to summary
public static final Handle NUMERIC_ARRAY

Constructor Detail

ArrayBootstrapback to summary
public ArrayBootstrap()

Method Detail

arrayback to summary
public static CallSite array(MethodHandles.Lookup lookup, String name, MethodType type)
arrayback to summary
public static RubyArray<T extends IRubyObject> array(ThreadContext context, IRubyObject[] ary)
bindArrayback to summary
private static <ArrayType> RubyArray<T extends IRubyObject> bindArray(ThreadContext context, MutableCallSite site, ArrayType values, int size, ObjectObjectIntFunction<Ruby, ArrayType, IRubyObject> mapper)
bindArrayback to summary
private static RubyArray<T extends IRubyObject> bindArray(MutableCallSite site, RubyClass arrayClass, IRubyObject car)
bindArrayback to summary
private static RubyArray<T extends IRubyObject> bindArray(MutableCallSite site, RubyClass arrayClass, IRubyObject car, IRubyObject cdr)
bindArrayback to summary
private static RubyArray<T extends IRubyObject> bindArray(MutableCallSite site, RubyClass arrayClass, IRubyObject[] values)
fixnumArrayback to summary
public static RubyArray<T extends IRubyObject> fixnumArray(ThreadContext context, MutableCallSite site, long[] values)
floatArrayback to summary
public static RubyArray<T extends IRubyObject> floatArray(ThreadContext context, MutableCallSite site, double[] values)
literalArrayback to summary
public static CallSite literalArray(MethodHandles.Lookup lookup, String name, MethodType type, String stringValues)