Uses of Interface
tech.units.indriya.ComparableUnit
-
Packages that use ComparableUnit Package Description tech.units.indriya This package provides the Reference Implementation of the Units of Measurement API.tech.units.indriya.unit This package provides supports for physics units, in conformity with the Units of Measurement API. -
-
Uses of ComparableUnit in tech.units.indriya
Classes in tech.units.indriya that implement ComparableUnit Modifier and Type Class Description classAbstractUnit<Q extends javax.measure.Quantity<Q>>The class represents units founded on the seven SI base units for seven base quantities assumed to be mutually independent.Methods in tech.units.indriya that return ComparableUnit Modifier and Type Method Description <T extends javax.measure.Quantity<T>>
ComparableUnit<T>AbstractUnit. asType(Class<T> type)Casts this unit to a parameterized unit of specified nature or throw a ClassCastException if the dimension of the specified quantity and this unit's dimension do not match (regardless whether or not the dimensions are independent or not).Methods in tech.units.indriya with parameters of type ComparableUnit Modifier and Type Method Description static booleanAbstractUnit.Equalizer. areEqual(ComparableUnit u1, ComparableUnit u2)Indicates if this unit is considered equals to the specified object.protected javax.measure.Unit<?>AbstractUnit. divide(ComparableUnit<?> that)Returns the quotient of this physical unit with the one specified.protected javax.measure.Unit<?>AbstractUnit. multiply(ComparableUnit<?> that)Returns the product of this physical unit with the one specified. -
Uses of ComparableUnit in tech.units.indriya.unit
Classes in tech.units.indriya.unit that implement ComparableUnit Modifier and Type Class Description classAlternateUnit<Q extends javax.measure.Quantity<Q>>This class represents units used in expressions to distinguish between quantities of a different nature but of the same dimensions.classAnnotatedUnit<Q extends javax.measure.Quantity<Q>>This class represents an annotated unit.classBaseUnit<Q extends javax.measure.Quantity<Q>>This class represents the building blocks on top of which all others physical units are created.classProductUnit<Q extends javax.measure.Quantity<Q>>This class represents units formed by the product of rational powers of existing physical units.classTransformedUnit<Q extends javax.measure.Quantity<Q>>This class represents the units derived from other units using converters.
-