public class POWER extends AbstractMathOperator
Constructor and Description |
---|
POWER() |
Modifier and Type | Method and Description |
---|---|
protected BigDecimal |
compute(BigDecimal nleft,
BigDecimal nright) |
protected BigDecimal |
compute(BigDecimal nleft,
int nright) |
protected int |
compute(int nleft,
int nright) |
protected long |
compute(long nleft,
long nright) |
String |
getImplementationId()
Unique addon implementation ID.
|
String |
getRepresentation()
String representation for human read
|
int |
getWeight()
Returns 100
|
protected Number |
redirectToBigDecimal(Number nleft,
Number nright)
Overriden for perf issues.
|
clone, compile, compileOperator, compute, compute, equals, forceUseOfBigDecimal, hashCode, toString
getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, toString, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
finalize, getClass, notify, notifyAll, wait, wait, wait
getInternalCacheIdentifier, isCacheUsed, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
public static final String POWER_ID
protected Number redirectToBigDecimal(Number nleft, Number nright) throws MAccessorException
redirectToBigDecimal
in class AbstractMathOperator
MAccessorException
protected BigDecimal compute(BigDecimal nleft, BigDecimal nright)
compute
in class AbstractMathOperator
protected BigDecimal compute(BigDecimal nleft, int nright)
protected int compute(int nleft, int nright)
compute
in class AbstractMathOperator
protected long compute(long nleft, long nright)
compute
in class AbstractMathOperator
public int getWeight()
public String getRepresentation()
IMathOperator