org.jruby.runtime.callsite
Class EqCallSite
java.lang.Object
org.jruby.runtime.CallSite
org.jruby.runtime.callsite.CachingCallSite
org.jruby.runtime.callsite.NormalCachingCallSite
org.jruby.runtime.callsite.EqCallSite
public class EqCallSite
- extends NormalCachingCallSite
Method Summary |
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double flote)
Call the site's method against the target object, passing a literal double
value. |
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg)
Call the site's method against the target object passing one argument. |
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long fixnum)
Call the site's method against the target object, passing a literal long
value. |
Methods inherited from class org.jruby.runtime.callsite.CachingCallSite |
cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, call, call, call, call, call, call, call, call, call, callIter, callIter, callIter, callIter, callIter, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, getCache, getCachedClassIndex, getCachedMethodSerial, getMethodName, isOptimizable, updateCache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EqCallSite
public EqCallSite()
call
public IRubyObject call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long fixnum)
- Description copied from class:
CallSite
- Call the site's method against the target object, passing a literal long
value.
- Overrides:
call
in class CachingCallSite
- Parameters:
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstfixnum
- the literal long value to pass
- Returns:
- the result of the call
call
public IRubyObject call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double flote)
- Description copied from class:
CallSite
- Call the site's method against the target object, passing a literal double
value.
- Overrides:
call
in class CachingCallSite
- Parameters:
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstflote
- the literal double value to pass
- Returns:
- the result of the call
call
public IRubyObject call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg)
- Description copied from class:
CallSite
- Call the site's method against the target object passing one argument.
- Overrides:
call
in class CachingCallSite
- Parameters:
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstarg
- the argument to pass
- Returns:
- the result of the call
Copyright © 2002-2009 JRuby Team. All Rights Reserved.