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

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.FuncPLUS
All Implemented Interfaces:
SoftFunction

public class FuncPLUS
extends MathFunc2

PLUS( x, y ) - returns x plus y - either long or double. The standard plus operator ('+') is mapped to this function.


Constructor Summary
FuncPLUS()
           
 
Method Summary
protected  java.lang.Object getFunctionValue(double arg1, double arg2)
           
protected  java.lang.Object getFunctionValue(long arg1, long arg2)
           
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.MathFunc2
getFunctionValue
 
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

FuncPLUS

public FuncPLUS()
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

getOtherValue

protected java.lang.Object getOtherValue(java.lang.Object o1,
                                         java.lang.Object o2)
Overrides:
getOtherValue in class MathFunc2


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