private abstract static class RubyEnumerator.Nexter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
method
method to invoke for each operation
|
protected IRubyObject[] |
methodArgs
args to each method
|
protected IRubyObject |
object
target for each operation
|
protected Ruby |
runtime
the runtime associated with all objects
|
| Constructor and Description |
|---|
Nexter(Ruby runtime,
IRubyObject object,
java.lang.String method,
IRubyObject[] methodArgs) |
| Modifier and Type | Method and Description |
|---|---|
abstract IRubyObject |
next() |
abstract IRubyObject |
peek() |
abstract void |
shutdown() |
protected final Ruby runtime
protected final IRubyObject object
protected final java.lang.String method
protected final IRubyObject[] methodArgs
public Nexter(Ruby runtime, IRubyObject object, java.lang.String method, IRubyObject[] methodArgs)
public abstract IRubyObject next()
public abstract void shutdown()
public abstract IRubyObject peek()