AbstractConverter - Class in tec.uom.se
The base class for our UnitConverter
implementations.
AbstractConverter() - Constructor for class tec.uom.se.AbstractConverter
DefaultQuantityFactory constructor.
AbstractConverter.Pair - Class in tec.uom.se
This class represents converters made up of two or more separate converters (in matrix notation [pair] = [left] x [right]
).
AbstractQuantity <Q extends javax.measure.Quantity<Q >> - Class in tec.uom.se
This class represents the immutable result of a scalar measurement stated in a known unit.
AbstractQuantity(Unit<Q>) - Constructor for class tec.uom.se.AbstractQuantity
constructor.
AbstractSystemOfUnits - Class in tec.uom.se
An abstract base class for unit systems.
AbstractSystemOfUnits() - Constructor for class tec.uom.se.AbstractSystemOfUnits
AbstractSystemOfUnits.Helper - Class in tec.uom.se
AbstractUnit <Q extends javax.measure.Quantity<Q >> - Class in tec.uom.se
The class represents units founded on the seven SI base units for seven base quantities assumed to be mutually independent.
AbstractUnit() - Constructor for class tec.uom.se.AbstractUnit
DefaultQuantityFactory constructor.
AbstractUnitFormat - Class in tec.uom.se.format
This class provides the interface for formatting and parsing units
.
AbstractUnitFormat() - Constructor for class tec.uom.se.format.AbstractUnitFormat
accept(Quantity<Q>) - Method in class tec.uom.se.function.QuantitySummaryStatistics
Records another value into the summary information.
add(Quantity<Q>) - Method in interface tec.uom.se.ComparableQuantity
add(Quantity<Q>) - Method in class tec.uom.se.quantity.NumberQuantity
add(Quantity<Time>) - Method in class tec.uom.se.quantity.time.TemporalQuantity
add(Quantity<Time>) - Method in class tec.uom.se.quantity.time.TimeUnitQuantity
AddConverter - Class in tec.uom.se.function
This class represents a converter adding a constant offset to numeric values (double
based).
AddConverter(double) - Constructor for class tec.uom.se.function.AddConverter
Creates an additive converter having the specified offset.
addEscapes(String) - Static method in error tec.uom.se.internal.format.TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
AddExpr() - Method in class tec.uom.se.internal.format.LocalUnitFormatParser
Deprecated.
addUnit(Set<Unit<?>>, U, String) - Static method in class tec.uom.se.AbstractSystemOfUnits.Helper
Adds a new named unit to the collection.
addUnit(Set<Unit<?>>, U, String, String) - Static method in class tec.uom.se.AbstractSystemOfUnits.Helper
Adds a new named unit to the collection.
addUnit(Set<Unit<?>>, U, String, String, UnitStyle) - Static method in class tec.uom.se.AbstractSystemOfUnits.Helper
Adds a new named unit to the collection.
addUnit(Set<Unit<?>>, U, String, UnitStyle) - Static method in class tec.uom.se.AbstractSystemOfUnits.Helper
Adds a new labeled unit to the set.
alias(Unit<?>, String) - Method in class tec.uom.se.format.SimpleUnitFormat
Attaches a system-wide alias to this unit.
alias(Unit<?>, String) - Method in class tec.uom.se.format.SimpleUnitFormat.DefaultFormat
alias(Unit<?>, String) - Method in class tec.uom.se.format.SymbolMap
Attaches an alias to the specified unit.
alternate(String) - Method in class tec.uom.se.AbstractUnit
AlternateUnit <Q extends javax.measure.Quantity<Q >> - Class in tec.uom.se.unit
This class represents units used in expressions to distinguish between quantities of a different nature but of the same dimensions.
AlternateUnit(Unit<?>, String) - Constructor for class tec.uom.se.unit.AlternateUnit
Creates an alternate unit for the specified system unit identified by the specified name and symbol.
AMOUNT_OF_SUBSTANCE - Static variable in class tec.uom.se.quantity.QuantityDimension
Holds amount of substance dimension (N).
AMPERE - Static variable in class tec.uom.se.unit.Units
The SI base unit for electric current quantities (standard name A
).
annotate(String) - Method in class tec.uom.se.AbstractUnit
Annotates the specified unit.
AnnotatedUnit <Q extends javax.measure.Quantity<Q >> - Class in tec.uom.se.unit
This class represents an annotated unit.
AnnotatedUnit(AbstractUnit<Q>, String) - Constructor for class tec.uom.se.unit.AnnotatedUnit
Creates an annotated unit equivalent to the specified unit.
ASCIIFormat() - Constructor for class tec.uom.se.format.SimpleUnitFormat.ASCIIFormat
asType(Class<T>) - Method in class tec.uom.se.AbstractQuantity
Casts this quantity to a parameterized quantity of specified nature or throw a ClassCastException
if the dimension of the specified
quantity and its unit's dimension do not match.
asType(Class<T>) - Method in class tec.uom.se.AbstractUnit
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).
asType(Class<T>) - Method in interface tec.uom.se.ComparableQuantity
AtomicExpr() - Method in class tec.uom.se.internal.format.LocalUnitFormatParser
Deprecated.
ATTO(Unit<Q>) - Static method in enum tec.uom.se.unit.MetricPrefix
Returns the specified unit multiplied by the factor 10-18
get() - Method in class tec.uom.se.function.RationalConverter
get() - Method in class tec.uom.se.quantity.time.TimedData
getActualType() - Method in class tec.uom.se.AbstractUnit
getActualUnit() - Method in class tec.uom.se.unit.AnnotatedUnit
Returns the actual unit of this annotated unit (never an annotated unit itself).
getAnnotation() - Method in class tec.uom.se.unit.AnnotatedUnit
Returns the annotqtion of this annotated unit.
getAsDouble() - Method in class tec.uom.se.function.RationalConverter
getAvailableFormatNames() - Method in class tec.uom.se.internal.format.DefaultUnitFormatService
getAvailableSystemsOfUnits() - Method in class tec.uom.se.internal.DefaultSystemOfUnitsService
getAverage() - Method in class tec.uom.se.function.QuantitySummaryStatistics
Get the quantity average of all amounts added.
getAverage(Unit<Q>) - Method in class tec.uom.se.function.QuantitySummaryStatistics
Get the quantity average of all amounts added converted to unit
getBase() - Method in class tec.uom.se.function.ExpConverter
Returns the exponential base of this converter.
getBase() - Method in class tec.uom.se.function.LogConverter
Returns the logarithmic base of this converter.
getBaseDimensions() - Method in class tec.uom.se.quantity.QuantityDimension
Returns the fundamental (base) dimensions and their exponent whose product is this dimension or null
if this dimension is a
fundamental dimension.
getBaseUnits() - Method in class tec.uom.se.AbstractUnit
getBaseUnits() - Method in class tec.uom.se.unit.AlternateUnit
getBaseUnits() - Method in class tec.uom.se.unit.AnnotatedUnit
getBaseUnits() - Method in class tec.uom.se.unit.BaseUnit
getBaseUnits() - Method in class tec.uom.se.unit.ProductUnit
getBaseUnits() - Method in class tec.uom.se.unit.TransformedUnit
getConversionSteps() - Method in class tec.uom.se.AbstractConverter
getConversionSteps() - Method in class tec.uom.se.AbstractConverter.Pair
getConverter() - Method in enum tec.uom.se.unit.MetricPrefix
Returns the corresponding unit converter.
getConverter() - Method in class tec.uom.se.unit.TransformedUnit
getConverterTo(Unit<Q>) - Method in class tec.uom.se.AbstractUnit
getConverterToAny(Unit<?>) - Method in class tec.uom.se.AbstractUnit
getCount() - Method in class tec.uom.se.function.QuantitySummaryStatistics
Get the number of items added to this summary instance.
getDimension() - Method in class tec.uom.se.AbstractUnit
getDimension() - Method in class tec.uom.se.unit.AlternateUnit
getDimension() - Method in class tec.uom.se.unit.AnnotatedUnit
getDimension() - Method in class tec.uom.se.unit.BaseUnit
getDimension() - Method in class tec.uom.se.unit.ProductUnit
getDimension() - Method in class tec.uom.se.unit.TransformedUnit
getDimensionalTransform(Dimension) - Method in class tec.uom.se.spi.DimensionalModel
Returns the dimensional transform of the specified dimension.
getDividend() - Method in class tec.uom.se.function.RationalConverter
Returns the integer dividend for this rational converter.
getDivisor() - Method in class tec.uom.se.function.RationalConverter
Returns the integer (positive) divisor for this rational converter.
getFactor() - Method in class tec.uom.se.function.MultiplyConverter
Returns the scale factor of this converter.
getFundamentalDimension(Dimension) - Method in class tec.uom.se.spi.DimensionalModel
Returns the fundamental dimension for the one specified.
getInstance() - Static method in class tec.uom.se.format.EBNFUnitFormat
Returns the instance for the current default locale (non-ascii characters are allowed)
getInstance(SymbolMap) - Static method in class tec.uom.se.format.EBNFUnitFormat
Returns an instance for the given symbol map.
getInstance() - Static method in class tec.uom.se.format.LocalUnitFormat
Returns the instance for the current default locale (non-ascii characters are allowed)
getInstance(Locale) - Static method in class tec.uom.se.format.LocalUnitFormat
Returns an instance for the given locale.
getInstance(SymbolMap) - Static method in class tec.uom.se.format.LocalUnitFormat
Returns an instance for the given symbol map.
getInstance() - Static method in class tec.uom.se.format.QuantityFormat
Returns the quantity format for the default locale.
getInstance(NumberFormat, UnitFormat) - Static method in class tec.uom.se.format.QuantityFormat
Returns the quantity format using the specified number format and unit format (the number and unit are separated by one space).
getInstance(FormatBehavior) - Static method in class tec.uom.se.format.QuantityFormat
Returns the culture invariant format based upon
BigDecimal
canonical format and the
standard
unit format.
getInstance() - Static method in class tec.uom.se.format.SimpleUnitFormat
getInstance(SimpleUnitFormat.Flavor) - Static method in class tec.uom.se.format.SimpleUnitFormat
getInstance(Class<Q>) - Static method in class tec.uom.se.quantity.DefaultQuantityFactory
Returns the default instance for the specified quantity type.
getInstance(Class<Q>) - Static method in class tec.uom.se.quantity.ProxyQuantityFactory
Returns the default instance for the specified quantity type.
getInstance(Class<Q>) - Static method in class tec.uom.se.quantity.QuantityDimension
getInstance() - Static method in class tec.uom.se.unit.Units
Returns the unique instance of this class.
getInstant() - Method in class tec.uom.se.quantity.time.TimedData
getInstant() - Method in interface tec.uom.se.spi.Measurement
getKeys() - Method in class tec.uom.se.internal.format.l10n.MultiPropertyResourceBundle
Overrides the super class implementation to return an enumeration of keys from all the merged bundles
getLeft() - Method in class tec.uom.se.AbstractConverter.Pair
getMax() - Method in class tec.uom.se.function.QuantitySummaryStatistics
Get the maximal amount found within this summary.
getMax(Unit<Q>) - Method in class tec.uom.se.function.QuantitySummaryStatistics
Get the maximal amount found within this summary converted to unit
getMaximum() - Method in class tec.uom.se.spi.Range
Returns the largest value of the measurement range.
getMergedBundlePaths() - Method in class tec.uom.se.internal.format.l10n.MultiPropertyResourceBundle
getMessage() - Method in error tec.uom.se.internal.format.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMin() - Method in class tec.uom.se.function.QuantitySummaryStatistics
Get the minimal quantity found within this summary.
getMin(Unit<Q>) - Method in class tec.uom.se.function.QuantitySummaryStatistics
Get the minimal quantity found within this summary converted to unit
getMinimum() - Method in class tec.uom.se.spi.Range
Returns the smallest value of the range.
getName() - Method in class tec.uom.se.AbstractSystemOfUnits
getName() - Method in class tec.uom.se.AbstractUnit
getName() - Method in class tec.uom.se.quantity.time.TimedData
getName() - Method in class tec.uom.se.unit.Units
getNextToken() - Method in class tec.uom.se.internal.format.LocalUnitFormatParser
Deprecated.
Get the next Token.
getOffset() - Method in class tec.uom.se.function.AddConverter
Returns the offset value for this add converter.
getParentUnit() - Method in class tec.uom.se.unit.AlternateUnit
Returns the parent unit of this alternate unit, always a system unit and never an alternate unit.
getParentUnit() - Method in class tec.uom.se.unit.TransformedUnit
getPrefix(String) - Method in class tec.uom.se.format.SymbolMap
Returns the prefix (if any) for the specified symbol.
getPrefix(UnitConverter) - Method in class tec.uom.se.format.SymbolMap
Returns the prefix for the specified converter.
getPriority() - Method in class tec.uom.se.internal.format.DefaultUnitFormatService
getPriority() - Method in class tec.uom.se.spi.DefaultServiceProvider
Returns a priority value of 10.
getProductInstance(Unit<?>, Unit<?>) - Static method in class tec.uom.se.unit.ProductUnit
Returns the product of the specified units.
getQuantity(CharSequence) - Static method in class tec.uom.se.quantity.Quantities
Returns the decimal
measure of unknown type corresponding to the specified
representation.
getQuantity(Number, Unit<Q>) - Static method in class tec.uom.se.quantity.Quantities
Returns the scalar measurement.
getQuantity(Temporal, Temporal) - Static method in class tec.uom.se.quantity.time.TimeQuantities
Creates the
Quantity
based in the difference of the two
Temporal
getQuantity(LocalTime, LocalTime) - Static method in class tec.uom.se.quantity.time.TimeQuantities
Creates the
Quantity
based in the difference of the two
LocalTime
getQuantity(Temporal, Supplier<TemporalAdjuster>) - Static method in class tec.uom.se.quantity.time.TimeQuantities
getQuantity(LocalTime, Supplier<TemporalAdjuster>) - Static method in class tec.uom.se.quantity.time.TimeQuantities
Creates the
Quantity
based in the
Temporal
with
Supplier
getQuantity(Integer, TimeUnit) - Static method in class tec.uom.se.quantity.time.TimeQuantities
getQuantity(Integer, TemporalUnit) - Static method in class tec.uom.se.quantity.time.TimeQuantities
getQuantityFactory(Class<Q>) - Method in class tec.uom.se.spi.DefaultServiceProvider
Return a factory for this quantity
getQuotientInstance(Unit<?>, Unit<?>) - Static method in class tec.uom.se.unit.ProductUnit
Returns the quotient of the specified units.
getResolution() - Method in class tec.uom.se.quantity.QuantityRange
Returns the resolution of the measurement range.
getResolution() - Method in class tec.uom.se.spi.Range
Returns the resolution of the measurement range.
getResourcePath() - Method in class tec.uom.se.internal.format.l10n.MultiPropertyResourceBundle
getRight() - Method in class tec.uom.se.AbstractConverter.Pair
getRootInstance(AbstractUnit<?>, int) - Static method in class tec.uom.se.unit.ProductUnit
Returns the product unit corresponding to the specified root of the specified unit.
getService(Class<T>) - Method in class tec.uom.se.spi.DefaultServiceProvider
getServices(Class<T>) - Method in class tec.uom.se.spi.DefaultServiceProvider
Loads and registers services.
getSum() - Method in class tec.uom.se.function.QuantitySummaryStatistics
Get the sum of all amounts within this summary.
getSum(Unit<Q>) - Method in class tec.uom.se.function.QuantitySummaryStatistics
Get the sum of all amounts within this summary converted to unit
getSymbol() - Method in class tec.uom.se.AbstractUnit
getSymbol(Unit<?>) - Method in class tec.uom.se.format.SymbolMap
Returns the symbol (label) for the specified unit.
getSymbol(MetricPrefix) - Method in class tec.uom.se.format.SymbolMap
Returns the symbol for the specified prefix.
getSymbol() - Method in class tec.uom.se.unit.AlternateUnit
getSymbol() - Method in class tec.uom.se.unit.AnnotatedUnit
getSymbol() - Method in class tec.uom.se.unit.BaseUnit
getSymbol() - Method in enum tec.uom.se.unit.MetricPrefix
Returns the symbol of this prefix.
getSymbol() - Method in class tec.uom.se.unit.ProductUnit
getSymbol() - Method in class tec.uom.se.unit.TransformedUnit
getSymbols() - Method in class tec.uom.se.format.AbstractUnitFormat
getSymbols() - Method in class tec.uom.se.format.EBNFUnitFormat
Get the symbol map used by this instance to map between Unit
s and String
s, etc...
getSymbols() - Method in class tec.uom.se.format.LocalUnitFormat
Get the symbol map used by this instance to map between
Unit
s and
String
s, etc...
getSymbols() - Method in class tec.uom.se.format.SimpleUnitFormat.DefaultFormat
getSystemConverter() - Method in class tec.uom.se.AbstractUnit
Returns the converter from this unit to its unscaled System Unit
unit.
getSystemConverter() - Method in class tec.uom.se.unit.AlternateUnit
getSystemConverter() - Method in class tec.uom.se.unit.AnnotatedUnit
getSystemConverter() - Method in class tec.uom.se.unit.BaseUnit
getSystemConverter() - Method in class tec.uom.se.unit.ProductUnit
getSystemConverter() - Method in class tec.uom.se.unit.TransformedUnit
getSystemOfUnits() - Method in class tec.uom.se.internal.DefaultSystemOfUnitsService
getSystemOfUnits(String) - Method in class tec.uom.se.internal.DefaultSystemOfUnitsService
getSystemOfUnitsService() - Method in class tec.uom.se.spi.DefaultServiceProvider
getSystemUnit() - Method in class tec.uom.se.AbstractUnit
Returns the system unit (unscaled SI unit) from which this unit is derived.
getSystemUnit() - Method in class tec.uom.se.quantity.DefaultQuantityFactory
getSystemUnit() - Method in class tec.uom.se.quantity.ProxyQuantityFactory
Returns the metric unit for quantities produced by this factory or null
if unknown.
getTemporalAmount() - Method in class tec.uom.se.quantity.time.TemporalQuantity
getTemporalUnit() - Method in class tec.uom.se.quantity.time.TemporalQuantity
getTimestamp() - Method in class tec.uom.se.quantity.time.TimedData
Returns the time with which this TimedData was created.
getTimestamp() - Method in interface tec.uom.se.spi.Measurement
getTimeUnit() - Method in class tec.uom.se.quantity.time.TimeUnitQuantity
getToken(int) - Method in class tec.uom.se.internal.format.LocalUnitFormatParser
Deprecated.
Get the specific Token.
getUnit() - Method in class tec.uom.se.AbstractQuantity
Returns the measurement unit.
getUnit(Class<Q>) - Method in class tec.uom.se.AbstractSystemOfUnits
getUnit(String) - Method in class tec.uom.se.format.SymbolMap
Returns the unit for the specified symbol.
getUnit(int) - Method in class tec.uom.se.unit.ProductUnit
Returns the unit element at the specified position.
getUnitCount() - Method in class tec.uom.se.unit.ProductUnit
Returns the number of unit elements in this product.
getUnitFormat(String) - Method in class tec.uom.se.internal.format.DefaultUnitFormatService
getUnitFormat() - Method in class tec.uom.se.internal.format.DefaultUnitFormatService
getUnitFormatService() - Method in class tec.uom.se.spi.DefaultServiceProvider
getUnitPow(int) - Method in class tec.uom.se.unit.ProductUnit
Returns the power exponent of the unit element at the specified position.
getUnitRoot(int) - Method in class tec.uom.se.unit.ProductUnit
Returns the root exponent of the unit element at the specified position.
getUnits() - Method in class tec.uom.se.AbstractSystemOfUnits
getUnits(Dimension) - Method in class tec.uom.se.AbstractSystemOfUnits
getValue() - Method in class tec.uom.se.AbstractQuantity
Returns the numeric value of the quantity.
getValue() - Method in class tec.uom.se.function.AddConverter
getValue() - Method in class tec.uom.se.function.ExpConverter
getValue() - Method in class tec.uom.se.function.LogConverter
getValue() - Method in class tec.uom.se.function.MultiplyConverter
getValue() - Method in class tec.uom.se.function.PiMultiplierConverter
getValue() - Method in class tec.uom.se.function.RationalConverter
getValue() - Method in class tec.uom.se.internal.format.Token
An optional attribute value of the Token.
getValue() - Method in class tec.uom.se.quantity.NumberQuantity
getValue() - Method in class tec.uom.se.quantity.time.TemporalQuantity
getValue() - Method in class tec.uom.se.quantity.time.TimeUnitQuantity
GIGA(Unit<Q>) - Static method in enum tec.uom.se.unit.MetricPrefix
Returns the specified unit multiplied by the factor 109
GRAM - Static variable in class tec.uom.se.unit.Units
The SI derived unit for mass quantities (standard name g
).
GRAY - Static variable in class tec.uom.se.unit.Units
The SI unit for absorbed dose, specific energy (imparted), kerma (standard name Gy
).
groupByUnit() - Static method in class tec.uom.se.function.QuantityFunctions
IDENTITY - Static variable in class tec.uom.se.AbstractConverter
Holds identity converter.
image - Variable in class tec.uom.se.internal.format.Token
The string image of the token.
intValue(Unit<Q>) - Method in class tec.uom.se.AbstractQuantity
inverse() - Method in class tec.uom.se.AbstractConverter
inverse() - Method in class tec.uom.se.AbstractConverter.Pair
inverse(Class<T>) - Method in class tec.uom.se.AbstractQuantity
inverse() - Method in class tec.uom.se.AbstractUnit
Returns the inverse of this physical unit.
inverse() - Method in interface tec.uom.se.ComparableQuantity
inverse(Class<T>) - Method in interface tec.uom.se.ComparableQuantity
invert and already cast to defined quantityClass
inverse() - Method in class tec.uom.se.function.AddConverter
inverse() - Method in class tec.uom.se.function.ExpConverter
inverse() - Method in class tec.uom.se.function.LogConverter
inverse() - Method in class tec.uom.se.function.MultiplyConverter
inverse() - Method in class tec.uom.se.function.PiMultiplierConverter
inverse() - Method in class tec.uom.se.function.RationalConverter
inverse() - Method in class tec.uom.se.quantity.NumberQuantity
inverse() - Method in class tec.uom.se.quantity.time.TemporalQuantity
inverse() - Method in class tec.uom.se.quantity.time.TimeUnitQuantity
isAllASCII(String) - Static method in class tec.uom.se.format.SimpleUnitFormat
isBetween(Number, Number) - Static method in class tec.uom.se.function.QuantityFunctions
creates a Filter to between, lesser or equals and greater or equals, than number, ignoring units
isBetween(Quantity<Q>, Quantity<Q>) - Static method in class tec.uom.se.function.QuantityFunctions
creates a filter to between, lesser or equals and greater or equals, than the quantity measure
isBig() - Method in class tec.uom.se.AbstractQuantity
isBig() - Method in class tec.uom.se.quantity.NumberQuantity
Indicates if this measured amount is a big number, i.E.
isBig() - Method in class tec.uom.se.quantity.time.TemporalQuantity
isBig() - Method in class tec.uom.se.quantity.time.TimeUnitQuantity
isCompatible(Unit<?>) - Method in class tec.uom.se.AbstractUnit
Indicates if this unit is compatible with the unit specified.
isEquivalentTo(Quantity<Q>) - Method in class tec.uom.se.AbstractQuantity
isEquivalentTo(Quantity<Q>) - Method in interface tec.uom.se.ComparableQuantity
Compares two instances of
, doing the conversion of unit if necessary.
isGreaterThan(Quantity<Q>) - Method in class tec.uom.se.AbstractQuantity
isGreaterThan(Quantity<Q>) - Method in interface tec.uom.se.ComparableQuantity
Compares two instances of
.
isGreaterThan(Number) - Static method in class tec.uom.se.function.QuantityFunctions
creates a Filter to greater than number, ignoring units
isGreaterThan(Quantity<Q>) - Static method in class tec.uom.se.function.QuantityFunctions
creates a filter to greater than the quantity measure
isGreaterThanOrEqualTo(Quantity<Q>) - Method in class tec.uom.se.AbstractQuantity
isGreaterThanOrEqualTo(Quantity<Q>) - Method in interface tec.uom.se.ComparableQuantity
Compares two instances of
, doing the conversion of unit if necessary.
isGreaterThanOrEqualTo(Number) - Static method in class tec.uom.se.function.QuantityFunctions
creates a Filter to greater or equals than number, ignoring units
isGreaterThanOrEqualTo(Quantity<Q>) - Static method in class tec.uom.se.function.QuantityFunctions
creates a filter to greater or equals than the quantity measure
isIdentity() - Method in class tec.uom.se.AbstractConverter
isIdentity() - Method in class tec.uom.se.AbstractConverter.Pair
isLesserThan(Number) - Static method in class tec.uom.se.function.QuantityFunctions
creates a Filter to lesser than number, ignoring units
isLesserThan(Quantity<Q>) - Static method in class tec.uom.se.function.QuantityFunctions
creates a filter to lesser than the quantity measure
isLesserThanOrEqualTo(Number) - Static method in class tec.uom.se.function.QuantityFunctions
creates a Filter to lesser or equals than number, ignoring units
isLesserThanOrEqualTo(Quantity<Q>) - Static method in class tec.uom.se.function.QuantityFunctions
creates a filter to lesser or equals than the quantity measure
isLessThan(Quantity<Q>) - Method in class tec.uom.se.AbstractQuantity
isLessThan(Quantity<Q>) - Method in interface tec.uom.se.ComparableQuantity
Compares two instances of
, doing the conversion of unit if necessary.
isLessThanOrEqualTo(Quantity<Q>) - Method in class tec.uom.se.AbstractQuantity
isLessThanOrEqualTo(Quantity<Q>) - Method in interface tec.uom.se.ComparableQuantity
Compares two instances of
, doing the conversion of unit if necessary.
isLinear() - Method in class tec.uom.se.AbstractConverter.Pair
isLinear() - Method in class tec.uom.se.function.AddConverter
isLinear() - Method in class tec.uom.se.function.ExpConverter
isLinear() - Method in class tec.uom.se.function.LogConverter
isLinear() - Method in class tec.uom.se.function.MultiplyConverter
isLinear() - Method in class tec.uom.se.function.PiMultiplierConverter
isLinear() - Method in class tec.uom.se.function.RationalConverter
isLocaleSensitive() - Method in class tec.uom.se.format.EBNFUnitFormat
isLocaleSensitive() - Method in class tec.uom.se.format.LocalUnitFormat
isLocaleSensitive() - Method in class tec.uom.se.format.SimpleUnitFormat
isSystemUnit() - Method in class tec.uom.se.AbstractUnit
Indicates if this unit belongs to the set of coherent SI units (unscaled SI units).
isValidIdentifier(String) - Method in class tec.uom.se.format.SimpleUnitFormat.ASCIIFormat
isValidIdentifier(String) - Method in class tec.uom.se.format.SimpleUnitFormat.DefaultFormat
isValidIdentifier(String) - Method in class tec.uom.se.format.SimpleUnitFormat
Indicates if the specified name can be used as unit identifier.
MASS - Static variable in class tec.uom.se.quantity.QuantityDimension
Holds mass dimension (M).
max() - Static method in class tec.uom.se.function.QuantityFunctions
Creates a BinaryOperator to calculate the maximum Quantity
Measurement <Q extends javax.measure.Quantity<Q >> - Interface in tec.uom.se.spi
A Measurement contains a Quantity
and a timestamp.
MEGA(Unit<Q>) - Static method in enum tec.uom.se.unit.MetricPrefix
Returns the specified unit multiplied by the factor 106
merge(ResourceBundle, String) - Method in class tec.uom.se.internal.format.l10n.MultiPropertyResourceBundle
Merges the properties of a ResourceBundle
into the current MultiPropertyResourceBundle
instance.
METRE - Static variable in class tec.uom.se.unit.Units
The SI base unit for length quantities (standard name m
).
METRE_PER_SECOND - Static variable in class tec.uom.se.unit.Units
The SI unit for velocity quantities (standard name m/s
).
METRE_PER_SQUARE_SECOND - Static variable in class tec.uom.se.unit.Units
The SI unit for acceleration quantities (standard name m/s2
).
MetricPrefix - Enum in tec.uom.se.unit
This class provides support for the 20 prefixes used in the metric system (decimal multiples and submultiples of units).
MICRO(Unit<Q>) - Static method in enum tec.uom.se.unit.MetricPrefix
Returns the specified unit multiplied by the factor 10-6
MICROSECOND - Static variable in class tec.uom.se.quantity.time.TimeQuantities
MILLI(Unit<Q>) - Static method in enum tec.uom.se.unit.MetricPrefix
Returns the specified unit multiplied by the factor 10-3
MILLISECOND - Static variable in class tec.uom.se.quantity.time.TimeQuantities
min() - Static method in class tec.uom.se.function.QuantityFunctions
Creates a BinaryOperator to calculate the minimum Quantity
MINUTE - Static variable in class tec.uom.se.unit.Units
A time unit accepted for use with SI units (standard name min
).
MINUTE_ANGLE - Static variable in class tec.uom.se.unit.Units
MOLE - Static variable in class tec.uom.se.unit.Units
The SI base unit for amount of substance quantities (standard name mol
).
MulExpr() - Method in class tec.uom.se.internal.format.LocalUnitFormatParser
Deprecated.
multiply(Quantity<T>, Class<E>) - Method in class tec.uom.se.AbstractQuantity
multiply(double) - Method in class tec.uom.se.AbstractUnit
multiply(Unit<?>) - Method in class tec.uom.se.AbstractUnit
Returns the product of this unit with the one specified.
multiply(AbstractUnit<?>) - Method in class tec.uom.se.AbstractUnit
Returns the product of this physical unit with the one specified.
multiply(Quantity<?>) - Method in interface tec.uom.se.ComparableQuantity
multiply(Number) - Method in interface tec.uom.se.ComparableQuantity
multiply(Quantity<T>, Class<E>) - Method in interface tec.uom.se.ComparableQuantity
multiply(Quantity<?>) - Method in class tec.uom.se.quantity.NumberQuantity
multiply(Number) - Method in class tec.uom.se.quantity.NumberQuantity
multiply(Dimension) - Method in class tec.uom.se.quantity.QuantityDimension
Returns the product of this dimension with the one specified.
multiply(QuantityDimension) - Method in class tec.uom.se.quantity.QuantityDimension
Returns the product of this dimension with the one specified.
multiply(Quantity<?>) - Method in class tec.uom.se.quantity.time.TemporalQuantity
multiply(Number) - Method in class tec.uom.se.quantity.time.TemporalQuantity
multiply(Quantity<?>) - Method in class tec.uom.se.quantity.time.TimeUnitQuantity
multiply(Number) - Method in class tec.uom.se.quantity.time.TimeUnitQuantity
MultiplyConverter - Class in tec.uom.se.function
This class represents a converter multiplying numeric values by a constant scaling factor (double
based).
MultiplyConverter(double) - Constructor for class tec.uom.se.function.MultiplyConverter
Creates a multiply converter with the specified scale factor.
MultiPropertyResourceBundle - Class in tec.uom.se.internal.format.l10n
Extends ResourceBundle
with 2 new capabilities.
MultiPropertyResourceBundle(InputStream, String) - Constructor for class tec.uom.se.internal.format.l10n.MultiPropertyResourceBundle
Instantiates a new MultiPropertyResourceBundle
.
MultiPropertyResourceBundle(ResourceBundle, String) - Constructor for class tec.uom.se.internal.format.l10n.MultiPropertyResourceBundle
Pair(UnitConverter, UnitConverter) - Constructor for class tec.uom.se.AbstractConverter.Pair
Creates a pair converter resulting from the combined transformation of the specified converters.
parse(CharSequence) - Static method in class tec.uom.se.AbstractQuantity
Returns the quantity of unknown type corresponding to the specified representation.
parse(CharSequence) - Static method in class tec.uom.se.AbstractUnit
Returns the abstract unit represented by the specified characters as per standard
UCUM format.
parse(CharSequence, ParsePosition) - Method in class tec.uom.se.format.AbstractUnitFormat
Parses a portion of the specified CharSequence
from the specified position to produce a unit.
parse(CharSequence, int) - Method in class tec.uom.se.format.AbstractUnitFormat
Parses a portion of the specified CharSequence
from the specified position to produce a unit.
parse(CharSequence, int) - Method in class tec.uom.se.format.EBNFUnitFormat
parse(CharSequence) - Method in class tec.uom.se.format.EBNFUnitFormat
parse(CharSequence, ParsePosition) - Method in class tec.uom.se.format.EBNFUnitFormat
parse(CharSequence, int) - Method in class tec.uom.se.format.LocalUnitFormat
parse(CharSequence, ParsePosition) - Method in class tec.uom.se.format.LocalUnitFormat
parse(CharSequence) - Method in class tec.uom.se.format.LocalUnitFormat
parse(CharSequence, ParsePosition) - Method in class tec.uom.se.format.QuantityFormat
Parses a portion of the specified CharSequence
from the specified position to produce an object.
parse(CharSequence) - Method in class tec.uom.se.format.QuantityFormat
Parses a portion of the specified CharSequence
from the specified position to produce an object.
parse(CharSequence) - Method in class tec.uom.se.format.SimpleUnitFormat.DefaultFormat
parse(CharSequence, int) - Method in class tec.uom.se.format.SimpleUnitFormat.DefaultFormat
parse(CharSequence, ParsePosition) - Method in class tec.uom.se.format.SimpleUnitFormat.DefaultFormat
parse(char) - Static method in class tec.uom.se.quantity.QuantityDimension
Returns the dimension for the specified symbol.
parseObject(String, ParsePosition) - Method in class tec.uom.se.format.QuantityFormat
parseObject(String, ParsePosition) - Method in class tec.uom.se.format.SimpleUnitFormat
Parses the text from a string to produce an object (implements java.text.Format
).
parseProductUnit(CharSequence, ParsePosition) - Method in class tec.uom.se.format.SimpleUnitFormat.DefaultFormat
parseProductUnit(CharSequence, ParsePosition) - Method in class tec.uom.se.format.SimpleUnitFormat
Parses a sequence of character to produce a unit or a rational product of unit.
parseSingleUnit(CharSequence, ParsePosition) - Method in class tec.uom.se.format.SimpleUnitFormat.DefaultFormat
parseSingleUnit(CharSequence, ParsePosition) - Method in class tec.uom.se.format.SimpleUnitFormat
Parses a sequence of character to produce a single unit.
parseUnit() - Method in class tec.uom.se.internal.format.LocalUnitFormatParser
Deprecated.
parseUnit() - Method in class tec.uom.se.internal.format.UnitFormatParser
PASCAL - Static variable in class tec.uom.se.unit.Units
The SI unit for pressure, stress (standard name Pa
).
PERCENT - Static variable in class tec.uom.se.unit.Units
A dimensionless unit accepted for use with SI units (standard name %
).
PETA(Unit<Q>) - Static method in enum tec.uom.se.unit.MetricPrefix
Returns the specified unit multiplied by the factor 1015
PI - Static variable in class tec.uom.se.AbstractConverter
The ratio of the circumference of a circle to its diameter.
PICO(Unit<Q>) - Static method in enum tec.uom.se.unit.MetricPrefix
Returns the specified unit multiplied by the factor 10-12
PiMultiplierConverter - Class in tec.uom.se.function
This class represents a converter multiplying numeric values by π (Pi).
PiMultiplierConverter() - Constructor for class tec.uom.se.function.PiMultiplierConverter
Creates a Pi multiplier converter.
pow(int) - Method in class tec.uom.se.AbstractUnit
Returns a unit equals to this unit raised to an exponent.
pow(int) - Method in class tec.uom.se.quantity.QuantityDimension
Returns this dimension raised to an exponent.
ProductUnit <Q extends javax.measure.Quantity<Q >> - Class in tec.uom.se.unit
This class represents units formed by the product of rational powers of existing physical units.
ProductUnit() - Constructor for class tec.uom.se.unit.ProductUnit
DefaultQuantityFactory constructor (used solely to create ONE
instance).
ProductUnit(Unit<?>) - Constructor for class tec.uom.se.unit.ProductUnit
Copy constructor (allows for parameterization of product units).
ProxyQuantityFactory <Q extends javax.measure.Quantity<Q >> - Class in tec.uom.se.quantity
A factory producing simple quantities instances (tuples
Number
/
Unit
).
ProxyQuantityFactory() - Constructor for class tec.uom.se.quantity.ProxyQuantityFactory
SECOND - Static variable in class tec.uom.se.unit.Units
The SI base unit for duration quantities (standard name s
).
SECOND_ANGLE - Static variable in class tec.uom.se.unit.Units
setCurrent(DimensionalModel) - Static method in class tec.uom.se.spi.DimensionalModel
Sets the current dimensional model
setInstance(Class<Q>, ProxyQuantityFactory<Q>) - Static method in class tec.uom.se.quantity.ProxyQuantityFactory
Overrides the default implementation of the factory for the specified quantity type.
setName(String) - Method in class tec.uom.se.AbstractUnit
setSymbol(String) - Method in class tec.uom.se.AbstractUnit
shift(double) - Method in class tec.uom.se.AbstractUnit
SIEMENS - Static variable in class tec.uom.se.unit.Units
The SI unit for electric conductance (standard name S
).
SIEVERT - Static variable in class tec.uom.se.unit.Units
The SI unit for dose equivalent (standard name Sv
).
Sign() - Method in class tec.uom.se.internal.format.LocalUnitFormatParser
Deprecated.
SimpleUnitFormat - Class in tec.uom.se.format
This class implements the UnitFormat
interface for formatting and parsing units
.
SimpleUnitFormat() - Constructor for class tec.uom.se.format.SimpleUnitFormat
Base constructor.
SimpleUnitFormat.ASCIIFormat - Class in tec.uom.se.format
This class represents the ASCII format.
SimpleUnitFormat.DefaultFormat - Class in tec.uom.se.format
This class represents the standard format.
SimpleUnitFormat.Flavor - Enum in tec.uom.se.format
Flavor of this format
sortNatural() - Static method in class tec.uom.se.function.QuantityFunctions
Creates a comparator to sort by natural order, looking to both the unit and the value.
sortNaturalDesc() - Static method in class tec.uom.se.function.QuantityFunctions
Creates a comparator to sort by natural order descending, looking to both the unit and the value.
sortNumber() - Static method in class tec.uom.se.function.QuantityFunctions
Creates a comparator to sort by number, ignoring the unit.
sortNumberDesc() - Static method in class tec.uom.se.function.QuantityFunctions
Creates a comparator to sort by number descending, ignoring the unit.
sortSymbol() - Static method in class tec.uom.se.function.QuantityFunctions
Creates a comparator to sort by name, ignoring the value.
sortSymbolDesc() - Static method in class tec.uom.se.function.QuantityFunctions
Creates a comparator to sort by name descending, ignoring the value.
specialToken - Variable in class tec.uom.se.internal.format.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
SQUARE_METRE - Static variable in class tec.uom.se.unit.Units
The SI unit for area quantities (standard name m2
).
STERADIAN - Static variable in class tec.uom.se.unit.Units
The SI unit for solid angle quantities (standard name sr
).
subtract(Quantity<Q>) - Method in interface tec.uom.se.ComparableQuantity
subtract(Quantity<Q>) - Method in class tec.uom.se.quantity.NumberQuantity
subtract(Quantity<Time>) - Method in class tec.uom.se.quantity.time.TemporalQuantity
subtract(Quantity<Time>) - Method in class tec.uom.se.quantity.time.TimeUnitQuantity
sum() - Static method in class tec.uom.se.function.QuantityFunctions
Creates a BinaryOperator to sum.
sum(Unit<Q>) - Static method in class tec.uom.se.function.QuantityFunctions
Creates a BinaryOperator to sum converting to unit
summarizeQuantity(Unit<Q>) - Static method in class tec.uom.se.function.QuantityFunctions
Summary of Quantity
SYMBOL_TO_UNIT - Static variable in class tec.uom.se.AbstractUnit
Holds the unique symbols collection (base units or alternate units).
SymbolMap - Class in tec.uom.se.format
tec.uom.se - package tec.uom.se
tec.uom.se.format - package tec.uom.se.format
tec.uom.se.function - package tec.uom.se.function
tec.uom.se.internal - package tec.uom.se.internal
tec.uom.se.internal.format - package tec.uom.se.internal.format
tec.uom.se.internal.format.l10n - package tec.uom.se.internal.format.l10n
tec.uom.se.quantity - package tec.uom.se.quantity
tec.uom.se.quantity.time - package tec.uom.se.quantity.time
tec.uom.se.spi - package tec.uom.se.spi
tec.uom.se.unit - package tec.uom.se.unit
TEMPERATURE - Static variable in class tec.uom.se.quantity.QuantityDimension
Holds temperature dimension (Θ).
TemporalQuantity - Class in tec.uom.se.quantity.time
TERA(Unit<Q>) - Static method in enum tec.uom.se.unit.MetricPrefix
Returns the specified unit multiplied by the factor 1012
TESLA - Static variable in class tec.uom.se.unit.Units
The alternate unit for magnetic flux density (standard name T
).
TIME - Static variable in class tec.uom.se.quantity.QuantityDimension
Holds time dimension (T).
TimedData <T > - Class in tec.uom.se.quantity.time
TimedData is a container for a data value that keeps track of its age.
TimedData(T, long) - Constructor for class tec.uom.se.quantity.time.TimedData
Construct an instance of TimedData with a value and timestamp.
TimeQuantities - Class in tec.uom.se.quantity.time
TimeUnitQuantity - Class in tec.uom.se.quantity.time
Class that represents
TimeUnit
in Unit-API
to(Unit<Q>) - Method in class tec.uom.se.AbstractQuantity
Returns this measure after conversion to specified unit.
to(Unit<Q>, MathContext) - Method in class tec.uom.se.AbstractQuantity
Returns this measure after conversion to specified unit.
to(Unit<Q>) - Method in interface tec.uom.se.ComparableQuantity
to(Unit<Q>) - Method in interface tec.uom.se.function.QuantityConverter
Returns a quantity converted into another unit.
to(Unit<Q>) - Method in class tec.uom.se.function.QuantitySummaryStatistics
convert the summary to this unit measure
to(TemporalUnit) - Method in class tec.uom.se.quantity.time.TemporalQuantity
to(TimeUnit) - Method in class tec.uom.se.quantity.time.TimeUnitQuantity
token - Variable in class tec.uom.se.internal.format.LocalUnitFormatParser
Deprecated.
Current token.
Token - Class in tec.uom.se.internal.format
Describes the input token stream.
Token() - Constructor for class tec.uom.se.internal.format.Token
No-argument constructor
Token(int) - Constructor for class tec.uom.se.internal.format.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class tec.uom.se.internal.format.Token
Constructs a new token for the specified Image and Kind.
TokenException - Exception in tec.uom.se.internal.format
This exception is thrown when token errors are encountered.
TokenException(Token, int[][], String[]) - Constructor for exception tec.uom.se.internal.format.TokenException
This constructor is used by the method "raiseTokenException" in the generated parser.
TokenException() - Constructor for exception tec.uom.se.internal.format.TokenException
The following constructors are for use by you for whatever purpose you can think of.
TokenException(String) - Constructor for exception tec.uom.se.internal.format.TokenException
Constructor with message.
tokenImage - Variable in exception tec.uom.se.internal.format.TokenException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrError - Error in tec.uom.se.internal.format
Token Manager Error.
TokenMgrError() - Constructor for error tec.uom.se.internal.format.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for error tec.uom.se.internal.format.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error tec.uom.se.internal.format.TokenMgrError
Full Constructor.
tokenSource - Variable in class tec.uom.se.internal.format.LocalUnitFormatParser
Deprecated.
Generated Token Manager.
toMap(ResourceBundle) - Static method in class tec.uom.se.internal.format.l10n.BundleToMapAdapter
toMap(String) - Static method in class tec.uom.se.internal.format.l10n.BundleToMapAdapter
toQuantity() - Method in class tec.uom.se.quantity.time.TemporalQuantity
toQuantity() - Method in class tec.uom.se.quantity.time.TimeUnitQuantity
toSI() - Method in class tec.uom.se.AbstractQuantity
Convenient method equivalent to to(this.getUnit().toSI())
.
toString() - Method in class tec.uom.se.AbstractQuantity
Returns the String
representation of this measure.
toString() - Method in class tec.uom.se.AbstractUnit
Returns the standard representation of this physics unit.
toString() - Method in class tec.uom.se.format.SymbolMap
toString() - Method in class tec.uom.se.function.AddConverter
toString() - Method in class tec.uom.se.function.ExpConverter
toString() - Method in class tec.uom.se.function.LogConverter
toString() - Method in class tec.uom.se.function.MultiplyConverter
toString() - Method in class tec.uom.se.function.PiMultiplierConverter
toString() - Method in class tec.uom.se.function.QuantitySummaryStatistics
toString() - Method in class tec.uom.se.function.RationalConverter
toString() - Method in class tec.uom.se.internal.format.Token
Returns the image.
toString() - Method in class tec.uom.se.quantity.DefaultQuantityFactory
toString() - Method in class tec.uom.se.quantity.QuantityDimension
toString() - Method in class tec.uom.se.quantity.QuantityRange
toString() - Method in class tec.uom.se.quantity.time.TemporalQuantity
toString() - Method in class tec.uom.se.quantity.time.TimedData
toString() - Method in class tec.uom.se.quantity.time.TimeUnitQuantity
toString() - Method in class tec.uom.se.spi.Range
toSystemUnit() - Method in class tec.uom.se.AbstractUnit
Returns the unscaled SI
unit from which this unit is derived.
toSystemUnit() - Method in class tec.uom.se.unit.AlternateUnit
toSystemUnit() - Method in class tec.uom.se.unit.AnnotatedUnit
toSystemUnit() - Method in class tec.uom.se.unit.BaseUnit
toSystemUnit() - Method in class tec.uom.se.unit.ProductUnit
toSystemUnit() - Method in class tec.uom.se.unit.TransformedUnit
toTemporalSeconds(Quantity<Time>) - Static method in class tec.uom.se.quantity.time.TimeQuantities
toTimeUnitSeconds(Quantity<Time>) - Static method in class tec.uom.se.quantity.time.TimeQuantities
toUnit() - Method in class tec.uom.se.quantity.time.TemporalQuantity
toUnit() - Method in class tec.uom.se.quantity.time.TimeUnitQuantity
transform(UnitConverter) - Method in class tec.uom.se.AbstractUnit
TransformedUnit <Q extends javax.measure.Quantity<Q >> - Class in tec.uom.se.unit
This class represents the units derived from other units using converters.
TransformedUnit(Unit<Q>, UnitConverter) - Constructor for class tec.uom.se.unit.TransformedUnit
Creates a transformed unit from the specified system unit.
TransformedUnit(String, Unit<Q>, UnitConverter) - Constructor for class tec.uom.se.unit.TransformedUnit