com.nutiteq.components
Class Distance

java.lang.Object
  extended by com.nutiteq.components.Distance

public class Distance
extends java.lang.Object

Generic distance object. Holds the distance value and unit of measure.


Constructor Summary
Distance(float value, java.lang.String unitOfMeasure)
           
 
Method Summary
 java.lang.String getUnitOfMeasure()
           
 float getValue()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Distance

public Distance(float value,
                java.lang.String unitOfMeasure)
Method Detail

getValue

public float getValue()

getUnitOfMeasure

public java.lang.String getUnitOfMeasure()