com.spoledge.audao.parser.gql.impl.soft.func
Class FuncDIV

java.lang.Object
  extended by com.spoledge.audao.parser.gql.impl.soft.func.Func
      extended by com.spoledge.audao.parser.gql.impl.soft.func.Func2
          extended by com.spoledge.audao.parser.gql.impl.soft.func.MathFunc2
              extended by com.spoledge.audao.parser.gql.impl.soft.func.FuncDIV
All Implemented Interfaces:
SoftFunction

public class FuncDIV
extends MathFunc2

DIV( x, y ) - returns x divided by y - either long or double. Standard division operator ('/') is mapped to this function.


Constructor Summary
FuncDIV()
           
 
Method Summary
protected  java.lang.Object getFunctionValue(double arg1, double arg2)
           
protected  java.lang.Object getFunctionValue(long arg1, long arg2)
           
 
Methods inherited from class com.spoledge.audao.parser.gql.impl.soft.func.MathFunc2
getFunctionValue, getOtherValue
 
Methods inherited from class com.spoledge.audao.parser.gql.impl.soft.func.Func2
checkNumOfParams, getFunctionValueImpl
 
Methods inherited from class com.spoledge.audao.parser.gql.impl.soft.func.Func
checkNumOfParams, checkNumOfParams, getFunctionName, getFunctionValue, getFunctionWithParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FuncDIV

public FuncDIV()
Method Detail

getFunctionValue

protected java.lang.Object getFunctionValue(long arg1,
                                            long arg2)
Overrides:
getFunctionValue in class MathFunc2

getFunctionValue

protected java.lang.Object getFunctionValue(double arg1,
                                            double arg2)
Specified by:
getFunctionValue in class MathFunc2


Copyright © 2010 Spolecne s.r.o. All Rights Reserved.