Uses of Class
tech.units.indriya.AbstractQuantity
Packages that use AbstractQuantity
Package
Description
This package provides a Java SE 8 implementation of the
Units of Measurement API.
-
Uses of AbstractQuantity in tech.units.indriya
Methods in tech.units.indriya with parameters of type AbstractQuantityModifier and TypeMethodDescriptionbooleanAbstractQuantity.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 with parameters of type AbstractQuantityModifier and TypeMethodDescriptionfinal StringBuilderAbstractQuantityFormat.format(AbstractQuantity<?> quantity, StringBuilder dest) Convenience method equivalent toexcept it does not raise an IOException.invalid reference
#format(AbstractQuantity, Appendable) -
Uses of AbstractQuantity in tech.units.indriya.quantity
Subclasses of AbstractQuantity in tech.units.indriya.quantityModifier and TypeClassDescriptionclassNumberQuantity<Q extends javax.measure.Quantity<Q>>An amount of quantity, implementation ofComparableQuantitythat keepNumberas possible otherwise converts toDecimalQuantity, this object is immutable.Methods in tech.units.indriya.quantity that return AbstractQuantityModifier and TypeMethodDescriptionstatic <Q extends javax.measure.Quantity<Q>>
AbstractQuantity<Q> NumberQuantity.of(byte value, javax.measure.Unit<Q> unit) Returns the scalar quantity for the specifiedbytestated 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 specifieddoublestated 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 specifiedfloatstated 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 specifiedintstated 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 specifiedlongstated 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 specifiedshortstated in the specified unit. -
Uses of AbstractQuantity in tech.units.indriya.quantity.time
Subclasses of AbstractQuantity in tech.units.indriya.quantity.timeModifier and TypeClassDescriptionfinal classClass that representsTemporalUnitin Unit-APIfinal classClass that representsTimeUnitin Unit-API