Package ome.units.quantity
Class Quantity
java.lang.Object
ome.units.quantity.Quantity
- Direct Known Subclasses:
Angle,ElectricPotential,Frequency,Length,Power,Pressure,Temperature,Time
An abstract quantity.
This represents a quantity (value) for a given unit system.
- Since:
- 5.1
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Quantity
public Quantity()
-
-
Method Details
-
value
Get the numerical value of this quantity.- Returns:
- the value.
-
unit
Get the unit for this quantity.- Returns:
- the unit.
-