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

Class TransformedUnit<Q extends Quantity>

  • All Implemented Interfaces:
    Serializable


    public final class TransformedUnit<Q extends Quantity>extends DerivedUnit<Q>

    This class represents the units derived from other units using converters.

    Examples of transformed units:

             CELSIUS = KELVIN.add(273.15);         FOOT = METER.multiply(0.3048);         MILLISECOND = MILLI(SECOND);      

    Transformed units have no label. But like any other units, they may have labels attached to them:

             UnitFormat.getStandardInstance().label(FOOT, "ft");     
    or aliases:
             UnitFormat.getStandardInstance().alias(CENTI(METER)), "centimeter");         UnitFormat.getStandardInstance().alias(CENTI(METER)), "centimetre");     

    See Also:
    Unit.plus(double), Unit.times(double), Unit.transform(UnitConverter), UnitFormat, 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.