org.jruby.runtime.callback
Class FastInvocationCallback

java.lang.Object
  extended by org.jruby.runtime.callback.FastInvocationCallback
All Implemented Interfaces:
Callback

public abstract class FastInvocationCallback
extends java.lang.Object
implements Callback

Author:
Ola Bini

Constructor Summary
FastInvocationCallback()
           
 
Method Summary
abstract  IRubyObject call(java.lang.Object receiver, java.lang.Object[] args)
           
 IRubyObject execute(IRubyObject recv, IRubyObject[] oargs, Block block)
           
 Arity getArity()
           
 void setArity(Arity arity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastInvocationCallback

public FastInvocationCallback()
Method Detail

execute

public IRubyObject execute(IRubyObject recv,
                           IRubyObject[] oargs,
                           Block block)
Specified by:
execute in interface Callback

call

public abstract IRubyObject call(java.lang.Object receiver,
                                 java.lang.Object[] args)

setArity

public void setArity(Arity arity)

getArity

public Arity getArity()
Specified by:
getArity in interface Callback


Copyright © 2002-2007 JRuby Team. All Rights Reserved.