Q- The type of the quantity.
public interface Quantity<Q extends Quantity<Q>>
Kind of quantity, represented by sub-types, are aspect common to mutually comparable quantities (source: VIM). Sub-types are used to specify the quantitative property associated to a class through class parameterization and to provide limited compile time dimension consistency.
Unit<Mass> pound = ... Quantity<Length> size = ... Sensor<Temperature> thermometer = ... Vector3D<Speed> aircraftVelocity = ...
Copyright © 2005–2014 Units of Measurement project. All rights reserved.