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

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

public class FuncMINUS
extends MathFunc2

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


Constructor Summary
FuncMINUS()
           
 
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

FuncMINUS

public FuncMINUS()
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.