public class ZeroBasedUnit extends ASimpleUnit
EMPTY, LONG, REGULAR, SHORT| Constructor and Description |
|---|
ZeroBasedUnit(String name,
IDimension dimension,
double normalMultiplier) |
| Modifier and Type | Method and Description |
|---|---|
IMultiplicativeExpression |
changeScalar(double newScalar) |
double |
normalize(double value) |
getDimension, getDimensionCount, getDimensionPower, getDimensionsPowers, getDisplayName, getName, getPower, getScalaradd, divide, isAdditiveCompatible, multiply, negate, print, printAs, printAs, printInSystem, subtract, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, divide, multiply, negate, printAs, printAs, printInSystem, subtractpublic ZeroBasedUnit(String name, IDimension dimension, double normalMultiplier)
dimension - public IMultiplicativeExpression changeScalar(double newScalar)
public double normalize(double value)
normalize in class ASimpleUnitCopyright © 2016. All rights reserved.