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 AbstractUnit
    Modifier and Type
    Method
    Description
    final <T extends javax.measure.Quantity<T>>
    AbstractUnit<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).
    AbstractUnit.prefix(Prefix prefix)
     
    Methods in tech.units.indriya with parameters of type AbstractUnit
    Modifier and Type
    Method
    Description
    static boolean
    AbstractUnit.Equalizer.areEqual(AbstractUnit u1, AbstractUnit u2)
    Indicates if this unit is considered equals to the specified object. order).
    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.unit

    Modifier and Type
    Class
    Description
    final 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.
    Modifier and Type
    Field
    Description
    static final AbstractUnit<javax.measure.quantity.Temperature>
    Units.CELSIUS
    The SI unit for Celsius temperature (standard name Cel).
    static final AbstractUnit<javax.measure.quantity.Mass>
    Units.KILOGRAM
    The SI base unit for mass quantities (standard name kg).
    static final AbstractUnit<javax.measure.quantity.ElectricResistance>
    Units.OHM
    The SI unit for electric resistance (standard name Ohm).
    Methods in tech.units.indriya.unit that return AbstractUnit
    Modifier and Type
    Method
    Description
    AnnotatedUnit.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 AbstractUnit
    Modifier and Type
    Method
    Description
    Map<? extends AbstractUnit<Q>, Integer>
    BaseUnit.getBaseUnits()
     
    Constructors in tech.units.indriya.unit with parameters of type AbstractUnit
    Modifier
    Constructor
    Description
     
    AnnotatedUnit(AbstractUnit<Q> actualUnit, String annotation)
    Creates an annotated unit equivalent to the specified unit.