public class BigDecComponents extends ComponentSet
Constructor and Description |
---|
BigDecComponents()
Constructs the class using the
MathContext.UNLIMITED for
unlimited precision arithmetic. |
BigDecComponents(java.math.MathContext mc)
Constructs the class with the specific math context.
|
BigDecComponents(java.math.MathContext mc,
boolean allowStrings) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowStrings()
Whether string are allowed
|
java.math.MathContext |
getMathContext() |
void |
setAllowStrings(boolean allowStrings)
Sets whether BigDecimals and strings can be used together.
|
void |
setMathContext(java.math.MathContext mc) |
addAuxComponent, addComponents, getAuxComponents, getAuxComps, getBaseComponents, getComponents, getEvaluator, getFunctionTable, getNodeFactory, getNumberFactory, getOperatorTable, getParser, getPrintVisitor, getVariableFactory, getVariableTable, setAuxComps, setEvaluator, setFunctionTable, setNodeFactory, setNumberFactory, setOperatorTable, setParser, setPrintVisitor, setVariableFactory, setVariableTable
public BigDecComponents()
MathContext.UNLIMITED
for
unlimited precision arithmetic.public BigDecComponents(java.math.MathContext mc)
mc
- the math context for the components.public BigDecComponents(java.math.MathContext mc, boolean allowStrings)
mc
- The mathContext to useallowStrings
- whether string are allowedpublic java.math.MathContext getMathContext()
public void setMathContext(java.math.MathContext mc)
public void setAllowStrings(boolean allowStrings)
allowStrings
- public boolean getAllowStrings()
Copyright © 2018 Singular Systems http://www.singularsys.com/jep