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

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
All Implemented Interfaces:
SoftFunction
Direct Known Subclasses:
FuncATAN2, FuncDIV, FuncMINUS, FuncMOD, FuncMUL, FuncPLUS, FuncPOWER

public abstract class MathFunc2
extends Func2

The parent of all mathematic 2-argument functions.


Constructor Summary
protected MathFunc2()
           
protected MathFunc2(boolean supportsLongs)
           
 
Method Summary
protected abstract  java.lang.Object getFunctionValue(double arg1, double arg2)
           
protected  java.lang.Object getFunctionValue(long arg1, long arg2)
           
protected  java.lang.Object getFunctionValue(java.lang.Object o1, java.lang.Object o2)
           
protected  java.lang.Object getOtherValue(java.lang.Object o1, java.lang.Object o2)
           
 
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

MathFunc2

protected MathFunc2()

MathFunc2

protected MathFunc2(boolean supportsLongs)
Method Detail

getFunctionValue

protected final java.lang.Object getFunctionValue(java.lang.Object o1,
                                                  java.lang.Object o2)
Specified by:
getFunctionValue in class Func2

getFunctionValue

protected java.lang.Object getFunctionValue(long arg1,
                                            long arg2)

getFunctionValue

protected abstract java.lang.Object getFunctionValue(double arg1,
                                                     double arg2)

getOtherValue

protected java.lang.Object getOtherValue(java.lang.Object o1,
                                         java.lang.Object o2)


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