| Modifier and Type | Field and Description |
|---|---|
| private IRubyObject[] | |
| private IRubyObject | |
| private IRubyObject | |
| private IRubyObject | |
| private IRubyObject | |
| private String | |
| private IRubyObject |
| Access | Constructor and Description |
|---|---|
| public | |
| public | RubyArithmeticSequence(Ruby runtime, RubyClass klass, IRubyObject generatedBy, String method, IRubyObject[] args, IRubyObject begin, IRubyObject end, IRubyObject step, IRubyObject excludeEnd)
|
| args | back to summary |
|---|---|
| private IRubyObject[] args | |
| begin | back to summary |
|---|---|
| private IRubyObject begin | |
| end | back to summary |
|---|---|
| private IRubyObject end | |
| excludeEnd | back to summary |
|---|---|
| private IRubyObject excludeEnd | |
| generatedBy | back to summary |
|---|---|
| private IRubyObject generatedBy | |
| method | back to summary |
|---|---|
| private String method | |
| step | back to summary |
|---|---|
| private IRubyObject step | |
| RubyArithmeticSequence | back to summary |
|---|---|
| public RubyArithmeticSequence(Ruby runtime, RubyClass klass) | |
| RubyArithmeticSequence | back to summary |
|---|---|
| public RubyArithmeticSequence(Ruby runtime, RubyClass klass, IRubyObject generatedBy, String method, IRubyObject[] args, IRubyObject begin, IRubyObject end, IRubyObject step, IRubyObject excludeEnd) | |
| begin | back to summary |
|---|---|
public IRubyObject begin(ThreadContext context)
| |
| createArithmeticSequenceClass | back to summary |
|---|---|
| public static RubyClass createArithmeticSequenceClass(ThreadContext context, RubyClass Enumerator, RubyModule Enumerable) | |
| each | back to summary |
|---|---|
public IRubyObject each(ThreadContext context, Block block)
| |
| each_cons | back to summary |
|---|---|
public IRubyObject each_cons(ThreadContext context, IRubyObject arg, final Block block)
| |
| each_slice | back to summary |
|---|---|
public IRubyObject each_slice(ThreadContext context, IRubyObject arg, final Block block)
| |
| each_with_object | back to summary |
|---|---|
public IRubyObject each_with_object(final ThreadContext context, IRubyObject arg, Block block)
| |
| end | back to summary |
|---|---|
public IRubyObject end(ThreadContext context)
| |
| exclude_end | back to summary |
|---|---|
public IRubyObject exclude_end(ThreadContext context)
| |
| fiberSites | back to summary |
|---|---|
| private static JavaSites. | |
| first | back to summary |
|---|---|
public IRubyObject first(ThreadContext context)
| |
| first | back to summary |
|---|---|
public IRubyObject first(ThreadContext context, IRubyObject num)
| |
| firstNoNum | back to summary |
|---|---|
| private IRubyObject firstNoNum(ThreadContext context, IRubyObject b, IRubyObject e, IRubyObject s) | |
| 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.
| |
| 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
| |
| last | back to summary |
|---|---|
public IRubyObject last(ThreadContext context)
| |
| last | back to summary |
|---|---|
public IRubyObject last(ThreadContext context, IRubyObject num)
| |
| newArithmeticSequence | back to summary |
|---|---|
| public static RubyArithmeticSequence newArithmeticSequence(ThreadContext context, IRubyObject generatedBy, String method, IRubyObject[] args, IRubyObject begin, IRubyObject end, IRubyObject step, IRubyObject excludeEnd) | |
| op_equal | back to summary |
|---|---|
| public IRubyObject 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
| |
| sites | back to summary |
|---|---|
| private static JavaSites. Hides org. Doc from org. Retrieve the call sites for this class. It is expected that all Java-based core classes that do call site caching will have a similar method. | |
| size | back to summary |
|---|---|
public IRubyObject size(ThreadContext context)
| |
| size | back to summary |
|---|---|
| private static IRubyObject size(ThreadContext context, RubyArithmeticSequence self, IRubyObject[] args) A size method suitable for lambda method reference implementation of
| |
| step | back to summary |
|---|---|
public IRubyObject step(ThreadContext context)
| |
| with_index | back to summary |
|---|---|
public IRubyObject with_index(ThreadContext context, final Block block)
| |
| with_index | back to summary |
|---|---|
public IRubyObject with_index(ThreadContext context, IRubyObject arg, final Block block)
| |