public abstract class AbstractBinaryFullCircuitNumericOperator<T extends Number> extends AbstractBinaryFullCircuitOperator
Constructor and Description |
---|
AbstractBinaryFullCircuitNumericOperator() |
Modifier and Type | Method and Description |
---|---|
protected RightValue |
evaluateOn(RightValue leftOperand,
RightValue rightOperand) |
protected abstract RightValue |
operateOnDoubleDouble(Double a,
Double b) |
protected abstract RightValue |
operateOnDoubleLong(Double a,
Long b) |
protected abstract RightValue |
operateOnLongDouble(Long a,
Double b) |
protected abstract RightValue |
operateOnLongLong(Long a,
Long b) |
protected RightValue |
operateOnValues(RightValue leftOperand,
RightValue rightOperand) |
protected abstract String |
operatorName() |
evaluate
getLeftOperand, getRightOperand, setLeftOperand, setRightOperand
public AbstractBinaryFullCircuitNumericOperator()
protected abstract RightValue operateOnDoubleDouble(Double a, Double b) throws BasicRuntimeException
BasicRuntimeException
protected abstract RightValue operateOnDoubleLong(Double a, Long b) throws BasicRuntimeException
BasicRuntimeException
protected abstract RightValue operateOnLongDouble(Long a, Double b) throws BasicRuntimeException
BasicRuntimeException
protected abstract RightValue operateOnLongLong(Long a, Long b) throws BasicRuntimeException
BasicRuntimeException
protected RightValue operateOnValues(RightValue leftOperand, RightValue rightOperand) throws BasicRuntimeException
BasicRuntimeException
protected abstract String operatorName()
protected final RightValue evaluateOn(RightValue leftOperand, RightValue rightOperand) throws BasicRuntimeException
evaluateOn
in class AbstractBinaryFullCircuitOperator
BasicRuntimeException
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.