org.simantics.databoard.units
Class LinearConverter

java.lang.Object
  extended by org.simantics.databoard.units.LinearConverter
All Implemented Interfaces:
IUnitConverter

public class LinearConverter
extends java.lang.Object
implements IUnitConverter


Constructor Summary
LinearConverter(double scale)
           
 
Method Summary
 double convert(double value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinearConverter

public LinearConverter(double scale)
Method Detail

convert

public double convert(double value)
Specified by:
convert in interface IUnitConverter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object