Documentation API of the 'javax.measure.unit.BaseUnit' Java class
BaseUnit
javax.measure.unit

Class BaseUnit<Q extends Quantity>

  • All Implemented Interfaces:
    Serializable


    public class BaseUnit<Q extends Quantity>extends Unit<Q>

    This class represents the building blocks on top of which all others units are created. Base units are typically dimensionally independent. The actual unit dimension is determinated by the current model. For example using the standard model, SI.CANDELA has the dimension of watt:

         // Standard model.     BaseUnit<Length> METER = new BaseUnit<Length>("m");     BaseUnit<LuminousIntensity> CANDELA = new BaseUnit<LuminousIntensity>("cd");     System.out.println(METER.getDimension());     System.out.println(CANDELA.getDimension());          > [L]     > [L]\xc2\xb2\xc2\xb7[M]/[T]\xc2\xb3     

    This class represents the "standard base units" which includes SI base units and possibly others user-defined base units. It does not represent the base units of any specific SystemOfUnits (they would have be base units accross all possible systems otherwise).

    See Also:
    Wikipedia: SI base unit, Serialized Form

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.