com.sentilla.measure
Class FloatMeasure<Q extends javax.measure.quantity.Quantity>

java.lang.Object
  extended by com.sentilla.measure.FloatMeasure<Q>
All Implemented Interfaces:
Serializable, Comparable<javax.measure.Measurable<Q>>, javax.measure.Measurable<Q>
Direct Known Subclasses:
FloatAmpere, FloatBit, FloatCandela, FloatCelsius, FloatCoulomb, FloatCubicMeter, FloatFarad, FloatGram, FloatHenry, FloatHertz, FloatJoule, FloatKelvin, FloatKilogram, FloatLumen, FloatLux, FloatMeter, FloatMeterPerSecond, FloatMeterPerSquareSecond, FloatMole, FloatNewton, FloatOhm, FloatPascal, FloatRadian, FloatRelativeHumidity, FloatSecond, FloatSiemens, FloatSquareMeter, FloatSteradian, FloatTesla, FloatVolt, FloatWatt, FloatWeber

public abstract class FloatMeasure<Q extends javax.measure.quantity.Quantity>
extends Object
implements javax.measure.Measurable<Q>, Serializable

See Also:
Serialized Form

Constructor Summary
FloatMeasure(double v)
           
FloatMeasure(float v)
           
 
Method Summary
 int compareTo(javax.measure.Measurable<Q> m)
          Compares this object with the specified object for order.
 double doubleValue(javax.measure.unit.Unit<Q> unit)
           
abstract  javax.measure.unit.Unit<Q> getUnit()
           
 long longValue(javax.measure.unit.Unit<Q> unit)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatMeasure

public FloatMeasure(double v)

FloatMeasure

public FloatMeasure(float v)
Method Detail

getUnit

public abstract javax.measure.unit.Unit<Q> getUnit()

compareTo

public int compareTo(javax.measure.Measurable<Q> m)
Description copied from interface: Comparable
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

Specified by:
compareTo in interface Comparable<javax.measure.Measurable<Q extends javax.measure.quantity.Quantity>>

doubleValue

public double doubleValue(javax.measure.unit.Unit<Q> unit)
Specified by:
doubleValue in interface javax.measure.Measurable<Q extends javax.measure.quantity.Quantity>

longValue

public long longValue(javax.measure.unit.Unit<Q> unit)
Specified by:
longValue in interface javax.measure.Measurable<Q extends javax.measure.quantity.Quantity>


Copyright © 2007 Sentilla Corporation. All Rights Reserved.