public abstract class DoubleTransformAdaptor extends java.lang.Object implements DoubleTransform
DataTransformFactory
noOperationTransform
Constructor and Description |
---|
DoubleTransformAdaptor() |
Modifier and Type | Method and Description |
---|---|
abstract double |
convertFromRaw(double rawValue)
DoubleTransform interface
|
abstract double |
convertToRaw(double physicalValue)
DoubleTransform interface
|
static ValueTransform |
implementValueTransform(DoubleTransform transform)
Helper method for implementing the valueTransform() DataTransform method
for a DoubleTransform implementation.
|
ValueTransform |
valueTransform()
Implement DataTransform interface
|
public abstract double convertFromRaw(double rawValue)
convertFromRaw
in interface DoubleTransform
rawValue
- The raw value to be converted to a physical value.public abstract double convertToRaw(double physicalValue)
convertToRaw
in interface DoubleTransform
physicalValue
- The physical value to be converted to a raw value.public final ValueTransform valueTransform()
valueTransform
in interface DataTransform
public static ValueTransform implementValueTransform(DoubleTransform transform)