Class ArrayJavaProxyCreator

java.lang.Object
org.jruby.RubyBasicObject
org.jruby.RubyObject
org.jruby.java.proxies.ArrayJavaProxyCreator
All Implemented Interfaces:
Serializable, Cloneable, Comparable<IRubyObject>, InstanceVariables, InternalVariables, IRubyObject, CoreObjectType

public class ArrayJavaProxyCreator extends RubyObject
A shim class created when constructing primitive arrays from proxied Java classes. In the following code: Java::byte[50].new The [50] call produces an instance of ArrayJavaProxyCreator. The [] method can be called with any number of integer arguments to create a multi-dimensional array creator, or calls to [] can be chained for the same effect. The eventual call to new is against the ArrayJavaProxyCreator instance, and the result is a wrapped Java array of the specified dimensions and element type of the original receiver (the byte class, above).
See Also: