private static class DecimalScaleFactor.UpSmall extends DecimalScaleFactor
| Modifier and Type | Field and Description |
|---|---|
private long |
longMultiplier |
powerOf10| Constructor and Description |
|---|
UpSmall(int powerOf10,
long multiplier) |
| Modifier and Type | Method and Description |
|---|---|
ScaleFactor |
concat(ScaleFactor innerFactor)
Concatenate (that is, multiply) this scale factor with
innerFactor. |
long |
targetFloor(long srcNumericalValue) |
boolean |
targetOutOfRange(long srcNumericalValue,
long maxAbsValue) |
long |
targetValue(long srcNumericalValue) |
appendExponentTo, asExponentialStringBuilder, compareTo, equals, get, getEngFloorFactor, getMultiplier, getSciFloorFactor, hashCode, invert, isInteger, isUnity, targetOutOfRange, targetValueconcat, getOffset, invertAndConcat, invertAndConcat, targetFloor, targetIntFloor, targetNumber, targetNumberpublic ScaleFactor concat(ScaleFactor innerFactor)
ScaleFactorinnerFactor. This is just a
special case of ScaleFactor.concat(IScalarAffineTransform).concat in class DecimalScaleFactorScaleFactor.concat(IScalarAffineTransform)public boolean targetOutOfRange(long srcNumericalValue,
long maxAbsValue)
targetOutOfRange in interface IScalarAffineTransformtargetOutOfRange in class DecimalScaleFactorpublic long targetValue(long srcNumericalValue)
targetValue in interface IScalarAffineTransformtargetValue in class DecimalScaleFactorsrcNumericalValue - a numerical quantity value, expressed in the source unitlongpublic long targetFloor(long srcNumericalValue)
targetFloor in interface IScalarAffineTransformtargetFloor in class DecimalScaleFactorsrcNumericalValue - a numerical quantity value, expressed in the source unitlong