public class BigDecOperatorTable extends StandardOperatorTable2
OperatorTable2.BasicOperators, OperatorTable2.PsudoOperators, OperatorTable2.SpecialOperators
EmptyOperatorTable.OperatorKey
Constructor and Description |
---|
BigDecOperatorTable(java.math.MathContext mc) |
BigDecOperatorTable(java.math.MathContext mc,
boolean allowStrings)
Create an operator table specifying the math context and whether string operations can be used
|
BigDecOperatorTable(OperatorTable2 oldTable,
java.math.MathContext mc) |
Modifier and Type | Method and Description |
---|---|
java.math.MathContext |
getMathContext() |
void |
setAllowStrings(boolean allowStrings)
Sets the allowStrings flag of the operators.
|
protected void |
setBasicPfmcs()
Sets the standard set of pfmc's for basic operators.
|
protected void |
setBDPfmcs() |
void |
setMathContext(java.math.MathContext mc) |
setPsudoPfmcs, setSpecialPfmcs
getAdd, getAnd, getAssign, getCross, getDivide, getDot, getEle, getEQ, getGE, getGT, getLE, getList, getLT, getMod, getMultiply, getNE, getNop, getNot, getOr, getPower, getRange, getSubtract, getUDivide, getUMinus, getUPlus
addOperator, addOperator, appendOperator, entrySet, getKey, getLightWeightInstance, getNumOps, getOperator, getOperators, getOperatorsByName, getOperatorsBySymbol, init, insertOperator, keySet, removeOperator, removeOperator, replaceOperator, replaceOperator, setBinaryInverseOp, setDistributiveOver, setGroupOperatorRelations, setGroupOperatorRelations, setInverseOp, setPrecedenceTable, setRootOp, setStandardOperatorRelations, toString
public BigDecOperatorTable(java.math.MathContext mc)
public BigDecOperatorTable(OperatorTable2 oldTable, java.math.MathContext mc)
oldTable
- public BigDecOperatorTable(java.math.MathContext mc, boolean allowStrings)
mc
- allowStrings
- whether strings can be used.protected void setBasicPfmcs()
StandardOperatorTable2
setBasicPfmcs
in class StandardOperatorTable2
OperatorTable2.BasicOperators
protected void setBDPfmcs()
public java.math.MathContext getMathContext()
public void setMathContext(java.math.MathContext mc)
public void setAllowStrings(boolean allowStrings)
allowStrings
- Copyright © 2018 Singular Systems http://www.singularsys.com/jep