|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.tools.transforms.DoubleArrayTransformAdaptor
An abstact class that provides a convenient base for classes implementing DoubleArrayTransform. The developer need only implement the non-inherited methods of the DoubleArrayTransform interface. Even if you do not want to subclass this class, it provides a static helper method from implementing the valueTransform() method required by DataTransform.
DataTransformFactory| Field Summary |
| Fields inherited from interface gov.sns.tools.transforms.DataTransform |
noOperationTransform |
| Constructor Summary | |
DoubleArrayTransformAdaptor()
|
|
| Method Summary | |
abstract double[] |
convertFromRaw(double[] rawValue)
DoubleTransform interface |
abstract double[] |
convertToRaw(double[] physicalValue)
DoubleTransform interface |
static ValueTransform |
implementValueTransform(DoubleArrayTransform transform)
Helper method for implementing the valueTransform() DataTransform method for a DoubleArrayTransform implementation. |
ValueTransform |
valueTransform()
Implement DataTransform interface |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DoubleArrayTransformAdaptor()
| Method Detail |
public abstract double[] convertFromRaw(double[] rawValue)
convertFromRaw in interface DoubleArrayTransformrawValue - The raw array to be converted to a physical array.
public abstract double[] convertToRaw(double[] physicalValue)
convertToRaw in interface DoubleArrayTransformphysicalValue - The physical array to be converted to a raw array.
public final ValueTransform valueTransform()
valueTransform in interface DataTransformpublic static ValueTransform implementValueTransform(DoubleArrayTransform transform)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||