org.codehaus.groovy.runtime.dgmimpl
[Java] Class NumberNumberDiv
java.lang.Object
  
org.codehaus.groovy.reflection.ParameterTypes
      
groovy.lang.MetaMethod
          
org.codehaus.groovy.runtime.callsite.CallSiteAwareMetaMethod
              
org.codehaus.groovy.runtime.dgmimpl.NumberNumberMetaMethod
                  
org.codehaus.groovy.runtime.dgmimpl.NumberNumberDiv
public final class NumberNumberDiv
extends NumberNumberMetaMethod
                     
                 
    
     
                 
                 
                | 
                Methods inherited from 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 | 
                
                 
                | 
                Methods inherited from class ParameterTypes
                 | 
                | coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getPT, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, setParametersTypes | 
                
                 
                 
    
    
        
        createPojoCallSite
        public CallSite createPojoCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params, Object receiver, Object[] args)
        
        - 
        
 
        
        
        
    
        
        div
        public static Number div(Number left, Number right)
        
        -  Divide two Numbers.
 Note: Method name different from 'divide' to avoid collision with BigInteger method that has
 different semantics.  We want a BigDecimal result rather than a BigInteger.
     
- Parameters:
 left -   a Numberright -  another Number
- Returns:
 - a Number resulting of the divide operation
 
         
        
        
        
    
        
        getName
        public String getName()
        
        - 
        
 
        
        
        
    
        
        invoke
        public Object invoke(Object object, Object[] arguments)
        
        - 
        
 
        
        
        
    
     
Copyright © 2003-2010 The Codehaus. All rights reserved.