[Java] Class NumberNumberMultiply
- org.codehaus.groovy.runtime.dgmimpl.NumberNumberMultiply
Fields inherited from class | Fields |
---|---|
class ParameterTypes | isVargsMethod, nativeParamTypes, parameterTypes |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
CallSite |
createPojoCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params, Object receiver, Object[] args) | |
String |
getName() | |
Object |
invoke(Object object, Object[] arguments) | |
static Number |
multiply(Number left, Number right) Multiply two Numbers. |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class NumberNumberMetaMethod | getDeclaringClass, getModifiers, getReturnType |
class CallSiteAwareMetaMethod | createPojoCallSite |
class MetaMethod | checkParameters, clone, doMethodInvoke, equal, equal, getDeclaringClass, getDescriptor, getModifiers, getMopName, getName, getReturnType, getSignature, invoke, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString |
class ParameterTypes | coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getPT, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes |
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
public CallSite createPojoCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params, Object receiver, Object[] args)
public String getName()
public Object invoke(Object object, Object[] arguments)
public static Number multiply(Number left, Number right)
Multiply two Numbers.
- Parameters:
-
left
- a Number -
right
- another Number
- Returns:
- the multiplication of both
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/runtime/dgmimpl/NumberNumberMultiply.html