org.opennms.web.element
Class Converter

java.lang.Object
  extended by org.opennms.web.element.Converter

public class Converter
extends Object

Converter class.

Since:
1.8.1
Version:
$Id: $
Author:
antonio To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Constructor Summary
Converter()
           
 
Method Summary
static double highToLow(double value, int multiplicator)
          highToLow
static double lowToHigh(double value, int divisor)
          lowToHigh
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Converter

public Converter()
Method Detail

highToLow

public static double highToLow(double value,
                               int multiplicator)

highToLow

Parameters:
value - a double.
multiplicator - a int.
Returns:
a double.

lowToHigh

public static double lowToHigh(double value,
                               int divisor)

lowToHigh

Parameters:
value - a double.
divisor - a int.
Returns:
a double.


Copyright © 2011. All Rights Reserved.