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 booleanAbstractQuantity. 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.StringBuilderAbstractQuantityFormat. 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) classBigIntegerQuantity<Q extends javax.measure.Quantity<Q>>An amount of quantity, implementation ofComparableQuantitythat usesBigIntegeras implementation ofNumber, this object is immutable.(package private) classByteQuantity<Q extends javax.measure.Quantity<Q>>An amount of quantity, consisting of a short and a Unit.(package private) classDecimalQuantity<Q extends javax.measure.Quantity<Q>>An amount of quantity, implementation ofComparableQuantitythat usesBigDecimalas implementation ofNumber, this object is immutable.(package private) classDoubleQuantity<Q extends javax.measure.Quantity<Q>>An amount of quantity, implementation ofComparableQuantitythat usesDoubleas implementation ofNumber, this object is immutable.(package private) classFloatQuantity<Q extends javax.measure.Quantity<Q>>An amount of quantity, consisting of a float and a Unit.(package private) classIntegerQuantity<Q extends javax.measure.Quantity<Q>>An amount of quantity, consisting of an integer and a Unit.(package private) classLongQuantity<Q extends javax.measure.Quantity<Q>>An amount of quantity, consisting of a long and a Unit.classNumberQuantity<Q extends javax.measure.Quantity<Q>>An amount of quantity, implementation ofComparableQuantitythat keepNumberas possible otherwise converts toDecimalQuantity, this object is immutable.(package private) classShortQuantity<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 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.time Modifier and Type Class Description classTemporalQuantityClass that representsTemporalUnitin Unit-APIclassTimeUnitQuantityClass that representsTimeUnitin Unit-API
-