Uses of Class
tech.units.indriya.AbstractQuantity
-
Packages that use AbstractQuantity Package Description tech.units.indriya This package provides a Java SE 8 implementation of the Units of Measurement API.tech.units.indriya.format tech.units.indriya.quantity tech.units.indriya.quantity.time -
-
Uses of AbstractQuantity in tech.units.indriya
Methods in tech.units.indriya with parameters of type AbstractQuantity Modifier and Type Method Description boolean
AbstractQuantity. equals(AbstractQuantity<Q> that, double epsilon, javax.measure.Unit<Q> epsilonUnit)
Compares this quantity and the specified quantity to the given accuracy. -
Uses of AbstractQuantity in tech.units.indriya.format
Methods in tech.units.indriya.format that return AbstractQuantity Modifier and Type Method Description (package private) AbstractQuantity<?>
SimpleQuantityFormat. parse(java.lang.CharSequence csq, int index)
Methods in tech.units.indriya.format with parameters of type AbstractQuantity Modifier and Type Method Description java.lang.StringBuilder
AbstractQuantityFormat. format(AbstractQuantity<?> quantity, java.lang.StringBuilder dest)
Convenience method equivalent to#format(AbstractQuantity, Appendable)
except it does not raise an IOException. -
Uses of AbstractQuantity in tech.units.indriya.quantity
Subclasses of AbstractQuantity in tech.units.indriya.quantity Modifier and Type Class Description (package private) class
BigIntegerQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, implementation ofComparableQuantity
that usesBigInteger
as implementation ofNumber
, this object is immutable.(package private) class
ByteQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, consisting of a short and a Unit.(package private) class
DecimalQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, implementation ofComparableQuantity
that usesBigDecimal
as implementation ofNumber
, this object is immutable.(package private) class
DoubleQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, implementation ofComparableQuantity
that usesDouble
as implementation ofNumber
, this object is immutable.(package private) class
FloatQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, consisting of a float and a Unit.(package private) class
IntegerQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, consisting of an integer and a Unit.(package private) class
LongQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, consisting of a long and a Unit.class
NumberQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, implementation ofComparableQuantity
that keepNumber
as possible otherwise converts toDecimalQuantity
, this object is immutable.(package private) class
ShortQuantity<Q extends javax.measure.Quantity<Q>>
An amount of quantity, consisting of a short and a Unit.Methods in tech.units.indriya.quantity that return AbstractQuantity Modifier and Type Method Description AbstractQuantity<Q>
DoubleQuantity. inverse()
AbstractQuantity<Q>
IntegerQuantity. inverse()
AbstractQuantity<Q>
LongQuantity. inverse()
static <Q extends javax.measure.Quantity<Q>>
AbstractQuantity<Q>NumberQuantity. of(byte value, javax.measure.Unit<Q> unit)
Returns the scalar quantity for the specifiedbyte
stated in the specified unit.static <Q extends javax.measure.Quantity<Q>>
AbstractQuantity<Q>NumberQuantity. of(double doubleValue, javax.measure.Unit<Q> unit)
Returns the scalar quantity for the specifieddouble
stated in the specified unit.static <Q extends javax.measure.Quantity<Q>>
AbstractQuantity<Q>NumberQuantity. of(float floatValue, javax.measure.Unit<Q> unit)
Returns the scalar quantity for the specifiedfloat
stated in the specified unit.static <Q extends javax.measure.Quantity<Q>>
AbstractQuantity<Q>NumberQuantity. of(int intValue, javax.measure.Unit<Q> unit)
Returns the scalar quantity for the specifiedint
stated in the specified unit.static <Q extends javax.measure.Quantity<Q>>
AbstractQuantity<Q>NumberQuantity. of(long longValue, javax.measure.Unit<Q> unit)
Returns the scalar quantity for the specifiedlong
stated in the specified unit.static <Q extends javax.measure.Quantity<Q>>
AbstractQuantity<Q>NumberQuantity. of(short value, javax.measure.Unit<Q> unit)
Returns the scalar quantity for the specifiedshort
stated in the specified unit. -
Uses of AbstractQuantity in tech.units.indriya.quantity.time
Subclasses of AbstractQuantity in tech.units.indriya.quantity.time Modifier and Type Class Description class
TemporalQuantity
Class that representsTemporalUnit
in Unit-APIclass
TimeUnitQuantity
Class that representsTimeUnit
in Unit-API
-