java.lang.Object
omix.mathxp.MathExpression
omix.mathxp.AbstractMathReference
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
MathPointer
,MathReference
public abstract class AbstractMathReference extends MathExpression
- Author:
- Dr. Peter Droste
-
Constructor Summary
Constructors Modifier Constructor Description AbstractMathReference()
AbstractMathReference(int startToken, int endToken)
protected
AbstractMathReference(AbstractMathReference other)
AbstractMathReference(UnitInterface unit)
AbstractMathReference(UnitInterface unit, int startToken, int endToken)
-
Method Summary
Modifier and Type Method Description void
checkUnits(UnitCheckMessageCollectorInterface messageCollector)
abstract AbstractMathReference
clone()
UnitInterface
getUnit()
void
setUnit(UnitInterface unit)
Methods inherited from class omix.mathxp.MathExpression
checkForDimensionlessUnit, checkForEqualsUnits, equals, evaluate, getConstantValue, getEndToken, getStartToken, isConstant, isValid, toNormalizedString, toString
-
Constructor Details
-
AbstractMathReference
public AbstractMathReference() -
AbstractMathReference
public AbstractMathReference(int startToken, int endToken) -
AbstractMathReference
-
AbstractMathReference
-
AbstractMathReference
-
-
Method Details
-
clone
- Specified by:
clone
in classMathExpression
-
getUnit
- Specified by:
getUnit
in classMathExpression
-
setUnit
-
checkUnits
- Specified by:
checkUnits
in classMathExpression
-