Uses of Class
tech.units.indriya.AbstractUnit
Packages that use AbstractUnit
Package
Description
This package provides a Java SE 8 implementation of the
Units of Measurement API.
This package provides supports for physics units, in conformity with the
Units of Measurement API.
-
Uses of AbstractUnit in tech.units.indriya
Methods in tech.units.indriya that return AbstractUnitModifier and TypeMethodDescriptionfinal <T extends javax.measure.Quantity<T>>
AbstractUnit<T> 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 AbstractUnitModifier and TypeMethodDescriptionstatic boolean
AbstractUnit.Equalizer.areEqual
(AbstractUnit u1, AbstractUnit u2) Indicates if this unit is considered equals to the specified object.protected final javax.measure.Unit
<?> AbstractUnit.divide
(AbstractUnit<?> that) Returns the quotient of this physical unit with the one specified.protected final javax.measure.Unit
<?> AbstractUnit.multiply
(AbstractUnit<?> that) Returns the product of this physical unit with the one specified. -
Uses of AbstractUnit in tech.units.indriya.format
Methods in tech.units.indriya.format with parameters of type AbstractUnitModifier and TypeMethodDescription(package private) final StringBuilder
AbstractUnitFormat.format
(AbstractUnit<?> unit, StringBuilder dest) Convenience method equivalent toinvalid reference
#format(AbstractUnit, Appendable)
-
Uses of AbstractUnit in tech.units.indriya.unit
Subclasses of AbstractUnit in tech.units.indriya.unitModifier and TypeClassDescriptionfinal class
AlternateUnit<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.final class
AnnotatedUnit<Q extends javax.measure.Quantity<Q>>
This class represents an annotated unit.final class
BaseUnit<Q extends javax.measure.Quantity<Q>>
This class represents the building blocks on top of which all others physical units are created.final class
ProductUnit<Q extends javax.measure.Quantity<Q>>
This class represents units formed by the product of rational powers of existing physical units.final class
TransformedUnit<Q extends javax.measure.Quantity<Q>>
This class represents the units derived from other units using converters.Fields in tech.units.indriya.unit declared as AbstractUnitModifier and TypeFieldDescriptionprivate final AbstractUnit
<Q> AnnotatedUnit.actualUnit
Holds the actual unit.static final AbstractUnit
<javax.measure.quantity.Temperature> Units.CELSIUS
The SI unit for Celsius temperature (standard nameCel
).static final AbstractUnit
<javax.measure.quantity.Mass> Units.KILOGRAM
The SI base unit for mass quantities (standard namekg
).static final AbstractUnit
<javax.measure.quantity.ElectricResistance> Units.OHM
The SI unit for electric resistance (standard nameOhm
).private final AbstractUnit
<Q> TransformedUnit.parentUnit
Holds the parent unit.Methods in tech.units.indriya.unit with type parameters of type AbstractUnitModifier and TypeMethodDescriptionprivate static <U extends AbstractUnit<?>>
UAdds a new unit and maps it to the specified quantity type.Methods in tech.units.indriya.unit that return AbstractUnitModifier and TypeMethodDescriptionAnnotatedUnit.getActualUnit()
Returns the actual unit of this annotated unit (never an annotated unit itself).Methods in tech.units.indriya.unit that return types with arguments of type AbstractUnitConstructors in tech.units.indriya.unit with parameters of type AbstractUnitModifierConstructorDescriptionAnnotatedUnit
(AbstractUnit<Q> actualUnit, String annotation) Creates an annotated unit equivalent to the specified unit.