| Modifier and Type | Field and Description |
|---|---|
| private IRubyObject |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public RubyArray | |
| public RubyArray | collectArray(ThreadContext
the current context context, Block a block for filtering or NULL_BLOCK block)Overrides org. Collect the contents of this array after filtering through block, or return a new equivalent array if the block is not given (!isGiven()). |
| public void | copyInto(ThreadContext context, IRubyObject[] target, int start)
Overrides org. Copy the values contained in this array into the target array at the specified offset. |
| public void | copyInto(ThreadContext context, IRubyObject[] target, int start, int len)
Overrides org. Copy the specified number of values contained in this array into the target array at the specified offset. |
| protected RubyArray | |
| public final IRubyObject | |
| public final IRubyObject | |
| protected void | finishUnpack(IRubyObject nil)
Implements abstract org.
|
| public boolean | |
| public int | indexOf(Object
element to search for element)Overrides org. Implements java. Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element. |
| protected IRubyObject | |
| protected IRubyObject | |
| protected IRubyObject | |
| protected RubyArray | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | replace(ThreadContext context, IRubyObject orig)
Overrides org. rb_ary_replace |
| public IRubyObject | |
| protected RubyArray | |
| protected IRubyObject | |
| protected IRubyObject | sortInternal(final ThreadContext context, boolean honorOverride)
Overrides org.
|
| protected void | |
| protected void | storeInternal(ThreadContext context, final int index, final IRubyObject value)
Overrides org.
|
| public IRubyObject | |
| public IRubyObject[] | toJavaArray(ThreadContext context)
Overrides org. Return a Java array copy of the elements contained in this Array. |
| public IRubyObject |
| value | back to summary |
|---|---|
| private IRubyObject value | |
| RubyArrayOneObject | back to summary |
|---|---|
| public RubyArrayOneObject(Ruby runtime, IRubyObject value) | |
| RubyArrayOneObject | back to summary |
|---|---|
| public RubyArrayOneObject(RubyClass otherClass, IRubyObject value) | |
| RubyArrayOneObject | back to summary |
|---|---|
| pack-priv RubyArrayOneObject(RubyArrayOneObject other) | |
| RubyArrayOneObject | back to summary |
|---|---|
| pack-priv RubyArrayOneObject(RubyClass metaClass, RubyArrayOneObject other) | |
| aryDup | back to summary |
|---|---|
| public RubyArray Overrides org. Doc from org. rb_ary_dup
| |
| collectArray | back to summary |
|---|---|
| public RubyArray Overrides org. Doc from org. Collect the contents of this array after filtering through block, or return a new equivalent array if the block is not given (!isGiven()).
| |
| copyInto | back to summary |
|---|---|
| public void copyInto(ThreadContext context, IRubyObject[] target, int start) Overrides org. Doc from org. Copy the values contained in this array into the target array at the specified offset. It is expected that the target array is large enough to hold all necessary values.
| |
| copyInto | back to summary |
|---|---|
| public void copyInto(ThreadContext context, IRubyObject[] target, int start, int len) Overrides org. Doc from org. Copy the specified number of values contained in this array into the target array at the specified offset. It is expected that the target array is large enough to hold all necessary values.
| |
| dupImpl | back to summary |
|---|---|
| protected RubyArray Overrides org.
| |
| eltInternal | back to summary |
|---|---|
| public final IRubyObject eltInternal(int index) Overrides org.
| |
| eltInternalSet | back to summary |
|---|---|
| public final IRubyObject eltInternalSet(int index, IRubyObject value) Overrides org.
| |
| finishUnpack | back to summary |
|---|---|
| protected void finishUnpack(IRubyObject nil) Implements abstract org.
| |
| includes | back to summary |
|---|---|
| public boolean includes(ThreadContext context, IRubyObject item) Overrides org.
| |
| indexOf | back to summary |
|---|---|
| public int indexOf(Object element) Overrides org. Implements java. Doc from java. Returns the index of the first occurrence of the specified element
in this list, or -1 if this list does not contain the element.
More formally, returns the lowest index | |
| inspectAry | back to summary |
|---|---|
| protected IRubyObject inspectAry(ThreadContext context) Overrides org. Doc from org. inspect_ary
| |
| internalRotate | back to summary |
|---|---|
| protected IRubyObject internalRotate(ThreadContext context, int cnt) Overrides org.
| |
| internalRotateBang | back to summary |
|---|---|
| protected IRubyObject internalRotateBang(ThreadContext context, int cnt) Overrides org.
| |
| makeShared | back to summary |
|---|---|
| protected RubyArray Overrides org. Doc from org. rb_ary_make_shared
| |
| op_plus | back to summary |
|---|---|
| public IRubyObject op_plus(ThreadContext context, IRubyObject obj) Overrides org. Doc from org. rb_ary_plus
| |
| rb_clear | back to summary |
|---|---|
| public IRubyObject rb_clear(ThreadContext context) Overrides org. Doc from org. rb_ary_clear
| |
| replace | back to summary |
|---|---|
| public IRubyObject replace(ThreadContext context, IRubyObject orig) Overrides org. Doc from org. rb_ary_replace
| |
| reverse_bang | back to summary |
|---|---|
| public IRubyObject reverse_bang(ThreadContext context) Overrides org. Doc from org. rb_ary_reverse_bang
| |
| safeReverse | back to summary |
|---|---|
| protected RubyArray Overrides org.
| |
| sortInternal | back to summary |
|---|---|
| protected IRubyObject sortInternal(ThreadContext context, Block block) Overrides org.
| |
| sortInternal | back to summary |
|---|---|
| protected IRubyObject sortInternal(final ThreadContext context, boolean honorOverride) Overrides org.
| |
| storeInternal | back to summary |
|---|---|
| protected void storeInternal(final int index, final IRubyObject value)
Deprecated
| |
| storeInternal | back to summary |
|---|---|
| protected void storeInternal(ThreadContext context, final int index, final IRubyObject value) Overrides org.
| |
| subseq | back to summary |
|---|---|
| public IRubyObject subseq(RubyClass metaClass, long beg, long len, boolean light) Overrides org.
| |
| toJavaArray | back to summary |
|---|---|
| public IRubyObject[] toJavaArray(ThreadContext context) Overrides org. Doc from org. Return a Java array copy of the elements contained in this Array. This version always creates a new Java array that is exactly the length of the Array's elements.
| |
| uniq | back to summary |
|---|---|
| public IRubyObject uniq(ThreadContext context) Overrides org. Doc from org. rb_ary_uniq
| |