private static class DecimalScaleFactor.Unity extends DecimalScaleFactor
powerOf10| Constructor and Description |
|---|
Unity() |
| Modifier and Type | Method and Description |
|---|---|
ScaleFactor |
concat(ScaleFactor innerFactor)
Concatenate (that is, multiply) this scale factor with
innerFactor. |
DecimalScaleFactor |
invert() |
long |
targetFloor(long srcNumericalValue) |
boolean |
targetOutOfRange(long srcNumericalValue,
long maxAbsValue) |
double |
targetValue(double srcNumericalValue) |
long |
targetValue(long srcNumericalValue) |
appendExponentTo, asExponentialStringBuilder, compareTo, equals, get, getEngFloorFactor, getMultiplier, getSciFloorFactor, hashCode, isInteger, isUnity, targetOutOfRangeconcat, 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 unitlongpublic double targetValue(double srcNumericalValue)
targetValue in interface IScalarAffineTransformtargetValue in class DecimalScaleFactorsrcNumericalValue - a numerical quantity value, expressed in the source unitpublic DecimalScaleFactor invert()
invert in interface IScalarAffineTransforminvert in class DecimalScaleFactor