| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final JavaUtil. | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private IRubyObject | |
| private IRubyObject | |
| private static boolean | |
| protected JavaArray | |
| public IRubyObject | |
| private final IRubyObject | |
| protected Object | |
| public IRubyObject | |
| private static int | |
| public IRubyObject | |
| public IRubyObject | |
| public static RubyClass | |
| public final IRubyObject | |
| pack-priv final IRubyObject | |
| public IRubyObject | dup()
Overrides org. Implements org. RubyMethod dup. |
| public IRubyObject | |
| public IRubyObject | |
| public RubyBoolean | |
| public RubyBoolean | |
| public boolean | equals(Object
object to compare obj)Overrides org. This override does not do a "checked" dispatch. |
| private boolean | |
| public IRubyObject | |
| public IRubyObject | |
| public Object | |
| public Class | |
| public final JavaArray | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public RubyFixnum | hash(ThreadContext
the current thread context context)Overrides org. Will return the hash code of this object. |
| public int | hashCode()
Overrides org. This override does not do "checked" dispatch since Object usually has #hash defined. |
| public IRubyObject | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private static void | |
| public RubyString | inspect(ThreadContext context)
Overrides org. Overrides default org. Returns a string containing a human-readable representation of obj. |
| private static RubyString | inspectCharArrayPart(final Ruby runtime, final StringBuilder buffer, final char[] ary, final int len)
|
| private RubyString | |
| public IRubyObject | |
| public IRubyObject | |
| public final int | |
| public RubyFixnum | |
| public static ArrayJavaProxy | |
| public static ArrayJavaProxy | |
| public final IRubyObject | |
| public final IRubyObject | |
| public final IRubyObject | |
| public RubyBoolean | op_equal(ThreadContext context, IRubyObject other)
Overrides org. Implements org. rb_obj_equal Will by default use identity equality to compare objects. |
| public IRubyObject | |
| public IRubyObject | rbClone()
Overrides org. Implements org. RubyMethod clone. |
| public void | |
| public IRubyObject | |
| protected static IRubyObject | size(ThreadContext context, ArrayJavaProxy self, IRubyObject[] args)
A size method suitable for lambda method reference implementation of |
| private IRubyObject | |
| public RubyArray | |
| public String | toString()
Overrides org. The default toString method is just a wrapper that calls the Ruby "to_s" method. |
| converter | back to summary |
|---|---|
| private final JavaUtil. | |
| END_BRACKET_COLON_SPACE | back to summary |
|---|---|
| private static final byte[] END_BRACKET_COLON_SPACE | |
| ArrayJavaProxy | back to summary |
|---|---|
| public ArrayJavaProxy(Ruby runtime, RubyClass klazz, Object array) | |
| ArrayJavaProxy | back to summary |
|---|---|
| public ArrayJavaProxy(Ruby runtime, RubyClass klazz, Object array, JavaUtil. | |
| arrayRange | back to summary |
|---|---|
| private IRubyObject arrayRange(final ThreadContext context, final RubyRange range) | |
| arrayRange | back to summary |
|---|---|
| private IRubyObject arrayRange(final ThreadContext context, final IRubyObject rFirst, final IRubyObject rLength) | |
| arraysEquals | back to summary |
|---|---|
| private static boolean arraysEquals(final Object thisArray, final Object thatArray) | |
| asJavaObject | back to summary |
|---|---|
| protected JavaArray asJavaObject(final Object array) Overrides org. Deprecated
| |
| at | back to summary |
|---|---|
public IRubyObject at(ThreadContext context, IRubyObject index)
| |
| at | back to summary |
|---|---|
| private final IRubyObject at(ThreadContext context, int i) | |
| cloneObject | back to summary |
|---|---|
| protected Object cloneObject() Overrides org.
| |
| component_type | back to summary |
|---|---|
public IRubyObject component_type(ThreadContext context)
| |
| convertArrayIndex | back to summary |
|---|---|
| private static int convertArrayIndex(ThreadContext context, final IRubyObject index) | |
| count | back to summary |
|---|---|
public IRubyObject count(final ThreadContext context, final Block block)
| |
| count | back to summary |
|---|---|
public IRubyObject count(final ThreadContext context, final IRubyObject obj, final Block unused)
| |
| createArrayJavaProxy | back to summary |
|---|---|
| public static RubyClass createArrayJavaProxy(ThreadContext context, RubyClass JavaProxy, RubyModule Enumerable) | |
| dig | back to summary |
|---|---|
public final IRubyObject dig(ThreadContext context, IRubyObject[] args)
| |
| dig | back to summary |
|---|---|
| pack-priv final IRubyObject dig(ThreadContext context, IRubyObject[] args, int idx) | |
| dup | back to summary |
|---|---|
| public IRubyObject dup() Overrides org. Implements org. Doc from org. RubyMethod dup.
| |
| each | back to summary |
|---|---|
public IRubyObject each(ThreadContext context, Block block)
| |
| each_with_index | back to summary |
|---|---|
public IRubyObject each_with_index(final ThreadContext context, final Block block)
| |
| empty_p | back to summary |
|---|---|
public RubyBoolean empty_p(ThreadContext context)
| |
| eql_p | back to summary |
|---|---|
| public RubyBoolean eql_p(ThreadContext context, IRubyObject obj) Overrides org.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. Doc from org. This override does not do a "checked" dispatch.
| |
| equalsRubyArray | back to summary |
|---|---|
| private boolean equalsRubyArray(final RubyArray<T extends IRubyObject> rubyArray) | |
| first | back to summary |
|---|---|
public IRubyObject first(ThreadContext context)
| |
| first | back to summary |
|---|---|
public IRubyObject first(ThreadContext context, IRubyObject count)
| |
| get | back to summary |
|---|---|
| public Object get(final int index) | |
| getComponentType | back to summary |
|---|---|
| public Class | |
| getJavaArray | back to summary |
|---|---|
| public final JavaArray getJavaArray()
Deprecated
| |
| getRange | back to summary |
|---|---|
| public IRubyObject getRange(ThreadContext context, IRubyObject[] args) | |
| getRange | back to summary |
|---|---|
| public IRubyObject getRange(ThreadContext context, IRubyObject arg0) | |
| getRange | back to summary |
|---|---|
| public IRubyObject getRange(ThreadContext context, IRubyObject first, IRubyObject length) | |
| hash | back to summary |
|---|---|
| public RubyFixnum hash(ThreadContext context) Overrides org. Doc from org. Will return the hash code of this object. In comparison to MRI, this method will use the Java identity hash code instead of using rb_obj_id, since the usage of id in JRuby will incur the cost of some. ObjectSpace maintenance.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from org. This override does not do "checked" dispatch since Object usually has #hash defined.
| |
| include_p | back to summary |
|---|---|
public IRubyObject include_p(ThreadContext context, IRubyObject obj)
| |
| includes | back to summary |
|---|---|
| private boolean includes(final ThreadContext context, final Object[] array, final IRubyObject obj) | |
| includes | back to summary |
|---|---|
| private boolean includes(final ThreadContext context, final byte[] array, final IRubyObject obj) | |
| includes | back to summary |
|---|---|
| private boolean includes(final ThreadContext context, final short[] array, final IRubyObject obj) | |
| includes | back to summary |
|---|---|
| private boolean includes(final ThreadContext context, final int[] array, final IRubyObject obj) | |
| includes | back to summary |
|---|---|
| private boolean includes(final ThreadContext context, final long[] array, final IRubyObject obj) | |
| includes | back to summary |
|---|---|
| private boolean includes(final ThreadContext context, final char[] array, final IRubyObject obj) | |
| includes | back to summary |
|---|---|
| private boolean includes(final ThreadContext context, final boolean[] array, final IRubyObject obj) | |
| includes | back to summary |
|---|---|
| private boolean includes(final ThreadContext context, final float[] array, final IRubyObject obj) | |
| includes | back to summary |
|---|---|
| private boolean includes(final ThreadContext context, final double[] array, final IRubyObject obj) | |
| initCopy | back to summary |
|---|---|
| private static void initCopy(IRubyObject clone, IRubyObject original, String method) | |
| inspect | back to summary |
|---|---|
| public RubyString inspect(ThreadContext context) Overrides org. Overrides default org. Doc from org. Returns a string containing a human-readable representation of
obj. If not overridden, uses the
| |
| inspectCharArrayPart | back to summary |
|---|---|
| private static RubyString inspectCharArrayPart(final Ruby runtime, final StringBuilder buffer, final char[] ary, final int len) | |
| inspectPrimitiveArray | back to summary |
|---|---|
| private RubyString inspectPrimitiveArray(final Ruby runtime, final Class<?> componentClass) | |
| last | back to summary |
|---|---|
public IRubyObject last(ThreadContext context)
| |
| last | back to summary |
|---|---|
public IRubyObject last(ThreadContext context, IRubyObject count)
| |
| length | back to summary |
|---|---|
| public final int length() | |
| length | back to summary |
|---|---|
public RubyFixnum length(ThreadContext context)
| |
| newArray | back to summary |
|---|---|
| public static ArrayJavaProxy newArray(final Ruby runtime, final Class<?> elementType, final int... dimensions)
Deprecated since 10.0.
| |
| newArray | back to summary |
|---|---|
| public static ArrayJavaProxy newArray(ThreadContext context, final Class<?> elementType, final int... dimensions) | |
| op_aref | back to summary |
|---|---|
public final IRubyObject op_aref(ThreadContext context, IRubyObject arg)
| |
| op_aref | back to summary |
|---|---|
public final IRubyObject op_aref(ThreadContext context, IRubyObject[] args)
| |
| op_aset | back to summary |
|---|---|
public final IRubyObject op_aset(ThreadContext context, IRubyObject index, IRubyObject value)
| |
| op_equal | back to summary |
|---|---|
| public RubyBoolean op_equal(ThreadContext context, IRubyObject other) Overrides org. Implements org. Doc from org. rb_obj_equal Will by default use identity equality to compare objects. This follows the Ruby semantics. The name of this method doesn't follow the convention because hierarchy problems
| |
| op_plus | back to summary |
|---|---|
public IRubyObject op_plus(ThreadContext context, IRubyObject other)
| |
| rbClone | back to summary |
|---|---|
| public IRubyObject rbClone() Overrides org. Implements org. Doc from org. RubyMethod clone.
| |
| set | back to summary |
|---|---|
| public void set(final int index, final Object value) | |
| setValue | back to summary |
|---|---|
| public IRubyObject setValue(final Ruby runtime, final int index, final IRubyObject value) | |
| size | back to summary |
|---|---|
| protected static IRubyObject size(ThreadContext context, ArrayJavaProxy self, IRubyObject[] args) A size method suitable for lambda method reference implementation of | |
| subarrayProxy | back to summary |
|---|---|
| private IRubyObject subarrayProxy(ThreadContext context, Object ary, final int aryLength, int index, int size) | |
| to_a | back to summary |
|---|---|
| public RubyArray Overrides org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from org. The default toString method is just a wrapper that calls the Ruby "to_s" method. | |
| Modifier and Type | Field and Description |
|---|---|
| private final DynamicMethod |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final IRubyObject | call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0)
Implements abstract org.
|
| newMethod | back to summary |
|---|---|
| private final DynamicMethod newMethod | |
| ArrayNewMethod | back to summary |
|---|---|
| pack-priv ArrayNewMethod(RubyModule implClass, Visibility visibility) | |
| ArrayNewMethod | back to summary |
|---|---|
| public ArrayNewMethod(RubyModule implClass, Visibility visibility, DynamicMethod oldNew) | |
| call | back to summary |
|---|---|
| public final IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0) Implements abstract org.
| |