Class AbstractBinaryFullCircuitNumericOperator<T extends Number>
java.lang.Object
com.scriptbasic.executors.AbstractExpression
com.scriptbasic.executors.operators.AbstractOperator
com.scriptbasic.executors.operators.AbstractBinaryOperator
com.scriptbasic.executors.operators.AbstractBinaryFullCircuitOperator
com.scriptbasic.executors.operators.AbstractBinaryFullCircuitNumericOperator<T>
- All Implemented Interfaces:
AnalysisResult,Evaluator,Expression
- Direct Known Subclasses:
AbstractBinaryFullCircuitHalfDoubleOperator,ModuloOperator
public abstract class AbstractBinaryFullCircuitNumericOperator<T extends Number>
extends AbstractBinaryFullCircuitOperator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final RightValueevaluateOn(RightValue leftOperand, RightValue rightOperand) protected abstract RightValueoperateOnDate(Long a, Long b) protected abstract RightValueprotected abstract RightValueoperateOnDoubleLong(Double a, Long b) protected abstract RightValueoperateOnLongDouble(Long a, Double b) protected abstract RightValueoperateOnLongLong(Long a, Long b) protected RightValueoperateOnValues(RightValue leftOperand, RightValue rightOperand) protected abstract StringMethods inherited from class com.scriptbasic.executors.operators.AbstractBinaryFullCircuitOperator
evaluate, getLeftOperandEvaluated, getRightOperandEvaluatedMethods inherited from class com.scriptbasic.executors.operators.AbstractBinaryOperator
getLeftOperand, getRightOperand, setLeftOperand, setRightOperandMethods inherited from class com.scriptbasic.executors.operators.AbstractOperator
getAsBoolean, getAsDouble, getAsLong, getAsObject, getAsString
-
Constructor Details
-
AbstractBinaryFullCircuitNumericOperator
public AbstractBinaryFullCircuitNumericOperator()
-
-
Method Details
-
operateOnDoubleDouble
-
operateOnDoubleLong
-
operateOnLongDouble
-
operateOnLongLong
-
operateOnDate
-
operateOnValues
protected RightValue operateOnValues(RightValue leftOperand, RightValue rightOperand) throws BasicRuntimeException - Throws:
BasicRuntimeException
-
operatorName
-
evaluateOn
protected final RightValue evaluateOn(RightValue leftOperand, RightValue rightOperand) throws BasicRuntimeException - Specified by:
evaluateOnin classAbstractBinaryFullCircuitOperator- Throws:
BasicRuntimeException
-