A B C D E F G H I J K L M N O P Q R S T U V W Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abs() - Method in class tech.units.indriya.function.RationalNumber
-
Returns a
RationalNumberwhose value is the absolute value of thisRationalNumber. - abs(Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- abs(Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
Returns the absolute of given
numberas aNumberthat best represents the arithmetic result within the set of number types this NumberSystem supports. - AbstractConverter - Class in tech.units.indriya.function
-
The base class for our
UnitConverterimplementations. - AbstractConverter() - Constructor for class tech.units.indriya.function.AbstractConverter
-
DefaultQuantityFactory constructor.
- AbstractConverter.Pair - Class in tech.units.indriya.function
-
This class represents converters made up of two or more separate converters (in matrix notation
[pair] = [left] x [right]). - AbstractQuantity<Q extends Quantity<Q>> - Class in tech.units.indriya
-
This class represents the immutable result of a scalar quantity stated in a known unit.
- AbstractQuantity(Unit<Q>) - Constructor for class tech.units.indriya.AbstractQuantity
-
Constructor.
- AbstractQuantity(Unit<Q>, Quantity.Scale) - Constructor for class tech.units.indriya.AbstractQuantity
-
Constructor.
- AbstractQuantityFormat - Class in tech.units.indriya.format
-
This class provides the interface for formatting and parsing
quantities. - AbstractQuantityFormat() - Constructor for class tech.units.indriya.format.AbstractQuantityFormat
- AbstractServiceProvider - Class in tech.units.indriya.spi
-
This class extends the
ServiceProviderclass and hereby uses the JDKServiceLoaderto load the required services. - AbstractServiceProvider() - Constructor for class tech.units.indriya.spi.AbstractServiceProvider
- AbstractSystemOfUnits - Class in tech.units.indriya
-
An abstract base class for unit systems.
- AbstractSystemOfUnits() - Constructor for class tech.units.indriya.AbstractSystemOfUnits
- AbstractSystemOfUnits.Helper - Class in tech.units.indriya
-
Static helper class.
- AbstractSystemOfUnitsService - Class in tech.units.indriya.spi
- AbstractSystemOfUnitsService() - Constructor for class tech.units.indriya.spi.AbstractSystemOfUnitsService
- AbstractUnit<Q extends Quantity<Q>> - Class in tech.units.indriya
-
The class represents units founded on the seven SI base units for seven base quantities assumed to be mutually independent.
- AbstractUnit() - Constructor for class tech.units.indriya.AbstractUnit
-
Default constructor.
- AbstractUnit(String) - Constructor for class tech.units.indriya.AbstractUnit
-
Constructor setting a symbol.
- AbstractUnit.Equalizer - Class in tech.units.indriya
-
Utility class for number comparison and equality
- AbstractUnitFormat - Class in tech.units.indriya.format
-
This class provides the interface for formatting and parsing
units. - AbstractUnitFormat() - Constructor for class tech.units.indriya.format.AbstractUnitFormat
- accept(Quantity<Q>) - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
Records another value into the summary information.
- add(Number, Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- add(Number, Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
Returns the sum of given
xandyas aNumberthat best represents the arithmetic result within the set of number types this NumberSystem supports. - add(Quantity<Time>) - Method in class tech.units.indriya.quantity.time.TemporalQuantity
- add(Quantity<Time>) - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- add(Quantity<Q>) - Method in interface tech.units.indriya.ComparableQuantity
- add(Quantity<Q>) - Method in class tech.units.indriya.quantity.NumberQuantity
- add(RationalNumber) - Method in class tech.units.indriya.function.RationalNumber
-
Returns a new instance of
RationalNumberrepresenting the additionthis + that. - AddConverter - Class in tech.units.indriya.function
-
This class represents a converter adding a constant offset to numeric values (
doublebased). - AddConverter(Number) - Constructor for class tech.units.indriya.function.AddConverter
-
Creates an additive converter having the specified offset.
- addEscapes(String) - Static method in error tech.units.indriya.format.TokenMgrError
-
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
- addUnit(Set<Unit<?>>, U) - Static method in class tech.units.indriya.unit.Units
-
Adds a new unit to a set of units.
- addUnit(Set<Unit<?>>, U, String) - Static method in class tech.units.indriya.AbstractSystemOfUnits.Helper
-
Adds a new named unit to a collection.
- addUnit(Set<Unit<?>>, U, String) - Static method in class tech.units.indriya.unit.Units
-
Adds a new unit to a set using a name.
- addUnit(Set<Unit<?>>, U, String, String) - Static method in class tech.units.indriya.AbstractSystemOfUnits.Helper
-
Adds a new named unit to a collection.
- addUnit(Set<Unit<?>>, U, String, String) - Static method in class tech.units.indriya.unit.Units
-
Adds a new unit not mapped to any specified quantity type to a set with a name and symbol.
- addUnit(Set<Unit<?>>, U, String, String, UnitStyle) - Static method in class tech.units.indriya.AbstractSystemOfUnits.Helper
-
Adds a new named unit to a set.
- addUnit(Set<Unit<?>>, U, String, UnitStyle) - Static method in class tech.units.indriya.AbstractSystemOfUnits.Helper
-
Adds a new labeled unit to a set.
- alias(Unit<?>, String) - Method in class tech.units.indriya.format.EBNFUnitFormat
-
Attaches a system-wide alias to this unit.
- alias(Unit<?>, String) - Method in class tech.units.indriya.format.SimpleUnitFormat
-
Attaches a system-wide alias to this unit.
- alias(Unit<?>, String) - Method in class tech.units.indriya.format.SymbolMap
-
Attaches an alias to the specified unit.
- alternate(String) - Method in class tech.units.indriya.AbstractUnit
- AlternateUnit<Q extends Quantity<Q>> - Class in tech.units.indriya.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 tech.units.indriya.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 tech.units.indriya.unit.UnitDimension
-
Holds amount of substance dimension (N).
- AMPERE - Static variable in class tech.units.indriya.unit.Units
-
The ampere, symbol A, is the SI unit of electric current.
- annotate(String) - Method in class tech.units.indriya.AbstractUnit
-
Annotates the specified unit.
- AnnotatedUnit<Q extends Quantity<Q>> - Class in tech.units.indriya.unit
-
This class represents an annotated unit.
- AnnotatedUnit(Unit<Q>, String) - Constructor for class tech.units.indriya.unit.AnnotatedUnit
-
Creates an annotated unit equivalent to the specified unit.
- areEqual(Unit, Unit) - Static method in class tech.units.indriya.AbstractUnit.Equalizer
-
Indicates if this unit is considered equals to the specified object. order).
- ASCII - tech.units.indriya.format.SimpleUnitFormat.Flavor
-
The ASCII_INSTANCE format flavor
- asType(Class<T>) - Method in class tech.units.indriya.AbstractQuantity
-
Casts this quantity to a parameterized quantity of specified nature or throw a
ClassCastExceptionif the dimension of the specified quantity and its unit's dimension do not match. - asType(Class<T>) - Method in class tech.units.indriya.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 tech.units.indriya.ComparableQuantity
B
- BaseUnit<Q extends Quantity<Q>> - Class in tech.units.indriya.unit
-
This class represents the building blocks on top of which all others physical units are created.
- BaseUnit(String) - Constructor for class tech.units.indriya.unit.BaseUnit
-
Creates a base unit having the specified symbol.
- BaseUnit(String, String) - Constructor for class tech.units.indriya.unit.BaseUnit
-
Creates a base unit having the specified symbol and name.
- BaseUnit(String, String, Dimension) - Constructor for class tech.units.indriya.unit.BaseUnit
-
Creates a base unit having the specified symbol, name and dimension.
- BaseUnit(String, Dimension) - Constructor for class tech.units.indriya.unit.BaseUnit
-
Creates a base unit having the specified symbol and dimension.
- BECQUEREL - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for activity of a radionuclide (standard name
Bq). - beginColumn - Variable in class tech.units.indriya.format.Token
-
The column number of the first character of this Token.
- beginLine - Variable in class tech.units.indriya.format.Token
-
The line number of the first character of this Token.
- bigDecimalValue() - Method in class tech.units.indriya.function.RationalNumber
-
The
BigDecimalrepresentation of thisRationalNumber. - build() - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat.Builder
- builder() - Static method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
-
Returns a new instance of
NumberDelimiterQuantityFormat.Builder. - Builder() - Constructor for class tech.units.indriya.format.NumberDelimiterQuantityFormat.Builder
C
- Calculus - Class in tech.units.indriya.function
-
Facade for internal number arithmetic.
- Calculus() - Constructor for class tech.units.indriya.function.Calculus
- CANDELA - Static variable in class tech.units.indriya.unit.Units
-
The candela, symbol cd, is the SI unit of luminous intensity in a given direction.
- canReduceWith(AbstractConverter) - Method in class tech.units.indriya.function.AbstractConverter
-
Non-API Guard for
AbstractConverter.reduce(AbstractConverter) - canReduceWith(AbstractConverter) - Method in class tech.units.indriya.function.AbstractConverter.Pair
- canReduceWith(AbstractConverter) - Method in class tech.units.indriya.function.AddConverter
- canReduceWith(AbstractConverter) - Method in class tech.units.indriya.function.ExpConverter
- canReduceWith(AbstractConverter) - Method in class tech.units.indriya.function.LogConverter
- canReduceWith(AbstractConverter) - Method in class tech.units.indriya.function.PowerOfIntConverter
- canReduceWith(AbstractConverter) - Method in class tech.units.indriya.function.RationalConverter
- CELSIUS - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for Celsius temperature (standard name
°C). - combine(QuantitySummaryStatistics<Q>) - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
Combines the state of another
QuantitySummaryStatisticsinto this one. - ComparableQuantity<Q extends Quantity<Q>> - Interface in tech.units.indriya
-
Quantity that adapts Comparable to the
Quantityinterface. - compare(Number, Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- compare(Number, Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
Compares two
Numbervalues numerically. - compareTo(Quantity<Q>) - Method in class tech.units.indriya.AbstractQuantity
-
Compares this quantity to the specified quantity.
- compareTo(ServiceProvider) - Method in class tech.units.indriya.spi.AbstractServiceProvider
- compareTo(Unit<Q>) - Method in class tech.units.indriya.AbstractUnit
-
Compares this unit to the specified unit.
- compareTo(UnitConverter) - Method in class tech.units.indriya.function.AbstractConverter.Pair
- compareTo(UnitConverter) - Method in class tech.units.indriya.function.AddConverter
- compareTo(UnitConverter) - Method in class tech.units.indriya.function.ExpConverter
- compareTo(UnitConverter) - Method in class tech.units.indriya.function.LogConverter
- compareTo(UnitConverter) - Method in class tech.units.indriya.function.PowerOfIntConverter
- compareTo(UnitConverter) - Method in class tech.units.indriya.function.RationalConverter
- compareTo(RationalNumber) - Method in class tech.units.indriya.function.RationalNumber
-
Compares two
RationalNumbervalues numerically. - compose(AbstractConverter, AbstractConverter, BiPredicate<AbstractConverter, AbstractConverter>, BinaryOperator<AbstractConverter>) - Method in interface tech.units.indriya.function.ConverterCompositionHandler
-
Takes two converters
left,rightand returns a (not necessarily new) converter that is equivalent to the mathematical composition of these: - concatenate(UnitConverter) - Method in class tech.units.indriya.function.AbstractConverter
- contains(Quantity<Q>) - Method in class tech.units.indriya.quantity.QuantityRange
- contains(T) - Method in interface tech.units.indriya.spi.Range
-
Checks whether the given
Tis within this range - conversionSteps - Variable in class tech.units.indriya.function.AbstractConverter
-
memorization for getConversionSteps
- convert(double) - Method in class tech.units.indriya.function.AbstractConverter
- convert(Number) - Method in class tech.units.indriya.function.AbstractConverter
- ConverterCompositionHandler - Interface in tech.units.indriya.function
-
Functional interface for handling the composition (concatenation) of two unit converters.
- convertWhenNotIdentity(Number) - Method in class tech.units.indriya.function.AbstractConverter
-
Non-API
- convertWhenNotIdentity(Number) - Method in class tech.units.indriya.function.AbstractConverter.Pair
- convertWhenNotIdentity(Number) - Method in class tech.units.indriya.function.AddConverter
- convertWhenNotIdentity(Number) - Method in class tech.units.indriya.function.ExpConverter
- convertWhenNotIdentity(Number) - Method in class tech.units.indriya.function.LogConverter
- convertWhenNotIdentity(Number) - Method in class tech.units.indriya.function.PowerOfIntConverter
- convertWhenNotIdentity(Number) - Method in class tech.units.indriya.function.RationalConverter
- COULOMB - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for electric charge, quantity of electricity (standard name
C). - create(Number, Unit<Q>) - Method in class tech.units.indriya.quantity.DefaultQuantityFactory
- create(Number, Unit<Q>, Quantity.Scale) - Method in class tech.units.indriya.quantity.DefaultQuantityFactory
- createConversionSteps() - Method in class tech.units.indriya.function.AbstractConverter.Pair
- createMixedQuantity(Number...) - Method in class tech.units.indriya.function.MixedRadix
- createMixedQuantity(Number[], Quantity.Scale) - Method in class tech.units.indriya.function.MixedRadix
- createQuantity(Number...) - Method in class tech.units.indriya.function.MixedRadix
- createQuantity(Number[], Quantity.Scale) - Method in class tech.units.indriya.function.MixedRadix
- CUBIC_METRE - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for volume quantities (standard name
m3). - current() - Static method in class tech.units.indriya.spi.DimensionalModel
-
Returns the current model (by default an instance of
StandardModel). - currentNumberSystem() - Static method in class tech.units.indriya.function.Calculus
-
Returns the current
NumberSystemused for Number arithmetic. - currentToken - Variable in exception tech.units.indriya.format.TokenException
-
This is the last token that has been consumed successfully.
D
- DAY - Static variable in class tech.units.indriya.unit.Units
-
A time unit accepted for use with SI units (standard name
d). - Default - tech.units.indriya.format.SimpleUnitFormat.Flavor
-
Deprecated.use DEFAULT_INSTANCE
- DEFAULT - tech.units.indriya.format.SimpleUnitFormat.Flavor
-
The default format flavor
- DEFAULT_DELIMITER - Static variable in class tech.units.indriya.format.AbstractQuantityFormat
-
The default delimiter.
- DEFAULT_MATH_CONTEXT - Static variable in class tech.units.indriya.function.Calculus
-
The default MathContext used for BigDecimal calculus.
- DefaultFormatService - Class in tech.units.indriya.format
-
Default format service.
- DefaultFormatService() - Constructor for class tech.units.indriya.format.DefaultFormatService
- DefaultNumberSystem - Class in tech.units.indriya.function
- DefaultNumberSystem() - Constructor for class tech.units.indriya.function.DefaultNumberSystem
- DefaultQuantityFactory<Q extends Quantity<Q>> - Class in tech.units.indriya.quantity
- DefaultServiceProvider - Class in tech.units.indriya.spi
-
This class extends the
ServiceProviderclass and hereby uses the JDKServiceLoaderto load the required services. - DefaultServiceProvider() - Constructor for class tech.units.indriya.spi.DefaultServiceProvider
- DefaultSystemOfUnitsService - Class in tech.units.indriya.unit
- DefaultSystemOfUnitsService() - Constructor for class tech.units.indriya.unit.DefaultSystemOfUnitsService
- DimensionalModel - Class in tech.units.indriya.spi
-
This class represents the physical model used for dimensional analysis.
- DimensionalModel() - Constructor for class tech.units.indriya.spi.DimensionalModel
-
DimensionalModel constructor (allows for derivation).
- divide(double) - Method in class tech.units.indriya.AbstractUnit
- divide(Number) - Method in class tech.units.indriya.AbstractUnit
-
Returns the result of dividing this unit by the specified divisor.
- divide(Number) - Method in interface tech.units.indriya.ComparableQuantity
- divide(Number) - Method in class tech.units.indriya.quantity.NumberQuantity
- divide(Number) - Method in class tech.units.indriya.quantity.time.TemporalQuantity
- divide(Number) - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- divide(Number, Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- divide(Number, Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
Returns the division of given
xandyas aNumberthat best represents the arithmetic result within the set of number types this NumberSystem supports. - divide(Dimension) - Method in class tech.units.indriya.unit.UnitDimension
-
Returns the quotient of this dimension with the one specified.
- divide(Quantity<?>) - Method in interface tech.units.indriya.ComparableQuantity
- divide(Quantity<?>) - Method in class tech.units.indriya.quantity.NumberQuantity
- divide(Quantity<?>) - Method in class tech.units.indriya.quantity.time.TemporalQuantity
- divide(Quantity<?>) - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- divide(Quantity<T>, Class<E>) - Method in class tech.units.indriya.AbstractQuantity
- divide(Quantity<T>, Class<E>) - Method in interface tech.units.indriya.ComparableQuantity
-
Multiply and cast the
ComparableQuantity - divide(Unit<?>) - Method in class tech.units.indriya.AbstractUnit
-
Returns the quotient of this unit with the one specified.
- divide(RationalNumber) - Method in class tech.units.indriya.function.RationalNumber
-
Returns a new instance of
RationalNumberrepresenting the divisionthis / that. - divideAndRemainder(Number, Number, boolean) - Method in class tech.units.indriya.function.DefaultNumberSystem
- divideAndRemainder(Number, Number, boolean) - Method in interface tech.units.indriya.spi.NumberSystem
-
Returns a two-element Number array containing {x / y, x % y}
- DIVISION_CHARACTER - Static variable in class tech.units.indriya.function.RationalNumber
-
The default
DIVISION_CHARACTERis ÷ which (on Windows) can by typed using Alt+ 246. - doubleValue() - Method in class tech.units.indriya.function.RationalNumber
E
- EBNFUnitFormat - Class in tech.units.indriya.format
-
This class represents the local neutral format.
- ELECTRIC_CURRENT - Static variable in class tech.units.indriya.unit.UnitDimension
-
Holds electric current dimension (I).
- endColumn - Variable in class tech.units.indriya.format.Token
-
The column number of the last character of this Token.
- endLine - Variable in class tech.units.indriya.format.Token
-
The line number of the last character of this Token.
- eol - Variable in exception tech.units.indriya.format.TokenException
-
The end of line string for this machine.
- Equalizer() - Constructor for class tech.units.indriya.AbstractUnit.Equalizer
- equals(Number, Number) - Method in interface tech.units.indriya.spi.NumberSystem
- equals(Object) - Method in class tech.units.indriya.AbstractQuantity
-
Compares this quantity against the specified object for strict equality (same unit and same amount).
- equals(Object) - Method in class tech.units.indriya.AbstractUnit
- equals(Object) - Method in class tech.units.indriya.function.AbstractConverter
- equals(Object) - Method in class tech.units.indriya.function.AbstractConverter.Pair
- equals(Object) - Method in class tech.units.indriya.function.AddConverter
- equals(Object) - Method in class tech.units.indriya.function.ExpConverter
- equals(Object) - Method in class tech.units.indriya.function.LogConverter
- equals(Object) - Method in class tech.units.indriya.function.PowerOfIntConverter
- equals(Object) - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
will equals when the unit were equals
- equals(Object) - Method in class tech.units.indriya.function.RationalConverter
- equals(Object) - Method in class tech.units.indriya.function.RationalNumber
-
Compares this RationalNumber with the specified Object for equality.
- equals(Object) - Method in class tech.units.indriya.quantity.DefaultQuantityFactory
- equals(Object) - Method in class tech.units.indriya.quantity.MixedQuantity
-
Indicates if this mixed quantity is considered equal to the specified object (both are mixed units with same composing units in the same order).
- equals(Object) - Method in class tech.units.indriya.quantity.QuantityRange
- equals(Object) - Method in class tech.units.indriya.quantity.time.TemporalQuantity
- equals(Object) - Method in class tech.units.indriya.quantity.time.TimedData
- equals(Object) - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- equals(Object) - Method in class tech.units.indriya.unit.AlternateUnit
- equals(Object) - Method in class tech.units.indriya.unit.AnnotatedUnit
- equals(Object) - Method in class tech.units.indriya.unit.BaseUnit
- equals(Object) - Method in class tech.units.indriya.unit.ProductUnit
- equals(Object) - Method in class tech.units.indriya.unit.TransformedUnit
- equals(Object) - Method in class tech.units.indriya.unit.UnitDimension
- exp(Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- exp(Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
Returns Euler's Constant to the power of of given
numberas aNumberthat best represents the arithmetic result within the set of number types this NumberSystem supports. - ExpConverter - Class in tech.units.indriya.function
-
This class represents a exponential converter of limited precision.
- ExpConverter(double) - Constructor for class tech.units.indriya.function.ExpConverter
-
Creates a logarithmic converter having the specified base.
- extractValues(Quantity<Q>) - Method in class tech.units.indriya.function.MixedRadix
- extractValuesInto(Quantity<Q>, Number[]) - Method in class tech.units.indriya.function.MixedRadix
F
- FARAD - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for capacitance (standard name
F). - floatValue() - Method in class tech.units.indriya.function.RationalNumber
- format(Object, StringBuffer, FieldPosition) - Method in class tech.units.indriya.format.AbstractQuantityFormat
- format(Object, StringBuffer, FieldPosition) - Method in class tech.units.indriya.format.SimpleUnitFormat
-
Formats an unit and appends the resulting text to a given string buffer (implements
java.text.Format). - format(Quantity<?>) - Method in class tech.units.indriya.format.AbstractQuantityFormat
-
Formats an object to produce a string.
- format(Quantity<?>, Appendable) - Method in class tech.units.indriya.format.AbstractQuantityFormat
-
Formats the specified quantity into an
Appendable. - format(Quantity<?>, Appendable) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
- format(Quantity<?>, Appendable) - Method in class tech.units.indriya.format.SimpleQuantityFormat
- format(Unit<?>) - Method in class tech.units.indriya.format.AbstractUnitFormat
-
Formats an object to produce a string.
- format(Unit<?>, Appendable) - Method in class tech.units.indriya.format.AbstractUnitFormat
-
Formats the specified unit.
- format(Unit<?>, Appendable) - Method in class tech.units.indriya.format.EBNFUnitFormat
- format(Unit<?>, Appendable) - Method in class tech.units.indriya.format.LocalUnitFormat
- format(Unit<?>, Appendable) - Method in class tech.units.indriya.format.SimpleUnitFormat
-
Formats the specified unit.
- format(ComparableQuantity<?>, StringBuffer) - Method in class tech.units.indriya.format.AbstractQuantityFormat
-
Convenience method equivalent to
#format(ComparableQuantity, Appendable)except it does not raise an IOException. - FormatBehavior - Enum in tech.units.indriya.format
-
Defines different ways of formatting.
- formatMixed(MixedQuantity<?>, StringBuffer) - Method in class tech.units.indriya.format.AbstractQuantityFormat
-
Convenience method equivalent to
#format(MixedQuantity, Appendable)except it does not raise an IOException. - formatMixed(MixedQuantity<?>, StringBuffer) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
- formatMixed(MixedQuantity<?>, StringBuffer) - Method in class tech.units.indriya.format.SimpleQuantityFormat
- fromArray(Quantity<Q>...) - Static method in class tech.units.indriya.quantity.MixedQuantity
G
- get() - Method in class tech.units.indriya.quantity.time.TimedData
- getActualType() - Method in class tech.units.indriya.AbstractUnit
- getActualUnit() - Method in class tech.units.indriya.unit.AnnotatedUnit
-
Returns the actual unit of this annotated unit (never an annotated unit itself).
- getAnnotation() - Method in class tech.units.indriya.unit.AnnotatedUnit
-
Returns the annotation of this annotated unit.
- getAsDouble() - Method in class tech.units.indriya.function.PowerOfIntConverter
- getAsDouble() - Method in class tech.units.indriya.function.RationalConverter
- getAvailableFormatNames(FormatService.FormatType) - Method in class tech.units.indriya.format.DefaultFormatService
- getAvailableNumberSystems() - Static method in class tech.units.indriya.function.Calculus
-
All available
NumberSystemsused for Number arithmetic. - getAvailableSystemsOfUnits() - Method in class tech.units.indriya.spi.AbstractSystemOfUnitsService
- getAverage() - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
Get the quantity average of all amounts added.
- getAverage(Unit<Q>) - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
Get the quantity average of all amounts added converted to unit
- getBase() - Method in class tech.units.indriya.function.ExpConverter
-
Returns the exponential base of this converter.
- getBase() - Method in class tech.units.indriya.function.LogConverter
-
Returns the logarithmic base of this converter.
- getBase() - Method in class tech.units.indriya.function.PowerOfIntConverter
- getBaseDimensions() - Method in class tech.units.indriya.unit.UnitDimension
-
Returns the fundamental (base) dimensions and their exponent whose product is this dimension or
nullif this dimension is a fundamental dimension. - getBaseUnits() - Method in class tech.units.indriya.AbstractUnit
- getBaseUnits() - Method in class tech.units.indriya.unit.AlternateUnit
- getBaseUnits() - Method in class tech.units.indriya.unit.AnnotatedUnit
- getBaseUnits() - Method in class tech.units.indriya.unit.BaseUnit
- getBaseUnits() - Method in class tech.units.indriya.unit.ProductUnit
- getBaseUnits() - Method in class tech.units.indriya.unit.TransformedUnit
- getConversionSteps() - Method in class tech.units.indriya.function.AbstractConverter
- getConverter() - Method in class tech.units.indriya.unit.TransformedUnit
-
Returns the converter to the parent unit.
- getConverterTo(Unit<Q>) - Method in class tech.units.indriya.AbstractUnit
- getConverterTo(Unit<Q>, Quantity.Scale) - Method in class tech.units.indriya.AbstractUnit
-
Returns a converter of numeric values from this unit to another unit of same type.
- getConverterToAny(Unit<?>) - Method in class tech.units.indriya.AbstractUnit
- getConverterToAny(Unit<?>, Quantity.Scale) - Method in class tech.units.indriya.AbstractUnit
-
Returns a converter from this unit to the specified unit of type unknown in the given scale.
- getCount() - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
Get the number of items added to this summary instance.
- getDimension() - Method in class tech.units.indriya.AbstractUnit
- getDimension() - Method in class tech.units.indriya.unit.AlternateUnit
- getDimension() - Method in class tech.units.indriya.unit.AnnotatedUnit
- getDimension() - Method in class tech.units.indriya.unit.BaseUnit
- getDimension() - Method in class tech.units.indriya.unit.ProductUnit
- getDimension() - Method in class tech.units.indriya.unit.TransformedUnit
- getDimensionalTransform(Dimension) - Method in class tech.units.indriya.spi.DimensionalModel
-
Returns the dimensional transform of the specified dimension.
- getDisplayName(String, Locale) - Method in class tech.units.indriya.spi.UnitNameProvider
-
Returns a name for the unit that is appropriate for display to the user.
- getDividend() - Method in class tech.units.indriya.function.RationalConverter
-
Returns the integer dividend for this rational converter.
- getDividend() - Method in class tech.units.indriya.function.RationalNumber
-
For a non-negative rational number, returns a non-negative dividend.
- getDivisor() - Method in class tech.units.indriya.function.RationalConverter
-
Returns the integer (positive) divisor for this rational converter.
- getDivisor() - Method in class tech.units.indriya.function.RationalNumber
-
By convention, returns a non-negative divisor.
- getExponent() - Method in class tech.units.indriya.function.PowerOfIntConverter
- getFactor() - Method in interface tech.units.indriya.function.MultiplyConverter
-
Returns the scale factor of this converter.
- getFormatService() - Method in class tech.units.indriya.spi.AbstractServiceProvider
- getFundamentalDimension(Dimension) - Method in class tech.units.indriya.spi.DimensionalModel
-
Returns the fundamental dimension for the one specified.
- getInstance() - Static method in class tech.units.indriya.format.EBNFUnitFormat
-
Returns the instance for the current default locale (non-ascii characters are allowed)
- getInstance() - Static method in class tech.units.indriya.format.LocalUnitFormat
-
Returns the instance for the current default locale (non-ascii characters are allowed)
- getInstance() - Static method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
-
Returns the default format.
- getInstance() - Static method in class tech.units.indriya.format.SimpleQuantityFormat
-
Returns the quantity format for the default locale.
- getInstance() - Static method in class tech.units.indriya.format.SimpleUnitFormat
-
Returns the globally shared unit format instance (used by
AbstractUnit.parse()andAbstractUnit.toString()). - getInstance() - Static method in class tech.units.indriya.unit.Units
-
Returns the unique instance of this class.
- getInstance(Class<Q>) - Static method in class tech.units.indriya.quantity.DefaultQuantityFactory
-
Returns the default instance for the specified quantity type.
- getInstance(String) - Static method in class tech.units.indriya.format.SimpleQuantityFormat
-
Returns a
SimpleQuantityFormatusing the given pattern. - getInstance(NumberFormat, UnitFormat) - Static method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
-
Returns the quantity format using the specified number format and unit format (the number and unit are separated by one space).
- getInstance(Locale) - Static method in class tech.units.indriya.format.LocalUnitFormat
-
Returns an instance for the given locale.
- getInstance(FormatBehavior) - Static method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
-
Returns an instance of
NumberDelimiterQuantityFormatwith a particularFormatBehavior, either locale-sensitive or locale-neutral. - getInstance(FormatBehavior, int) - Static method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
-
Returns an instance of
NumberDelimiterQuantityFormatwith a particularFormatBehavior, either locale-sensitive or locale-neutral, and a desired number style.
For example:NumberDelimiterQuantityFormat.getInstance(LOCALE_NEUTRAL))returns
new NumberDelimiterQuantityFormat.Builder().setNumberFormat(NumberFormat.getInstance(Locale.ROOT)).setUnitFormat(SimpleUnitFormat.getInstance()).build(); - getInstance(SimpleUnitFormat.Flavor) - Static method in class tech.units.indriya.format.SimpleUnitFormat
-
Returns the
SimpleUnitFormatin the desiredSimpleUnitFormat.Flavor - getInstance(SymbolMap) - Static method in class tech.units.indriya.format.EBNFUnitFormat
-
Returns a new instance for the given symbol map.
- getInstance(SymbolMap) - Static method in class tech.units.indriya.format.LocalUnitFormat
-
Returns an instance for the given symbol map.
- getInstant() - Method in class tech.units.indriya.quantity.time.TimedData
- getInstant() - Method in interface tech.units.indriya.spi.Measurement
-
Returns the Instant as timestamp.
- getLeft() - Method in class tech.units.indriya.function.AbstractConverter.Pair
- getMax() - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
Get the maximal amount found within this summary.
- getMax(Unit<Q>) - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
Get the maximal amount found within this summary converted to unit
- getMaximum() - Method in class tech.units.indriya.quantity.QuantityRange
- getMaximum() - Method in interface tech.units.indriya.spi.Range
-
Returns the largest value of the range.
- getMin() - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
Get the minimal quantity found within this summary.
- getMin(Unit<Q>) - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
Get the minimal quantity found within this summary converted to unit
- getMinimum() - Method in class tech.units.indriya.quantity.QuantityRange
- getMinimum() - Method in interface tech.units.indriya.spi.Range
-
Returns the smallest value of the range.
- getMixedQuantity(Number[], Unit<Q>[]) - Static method in class tech.units.indriya.quantity.Quantities
-
Returns the mixed radix values and units as
MixedQuantityin theABSOLUTEscale. - getMixedQuantity(Number[], Unit<Q>[], Quantity.Scale) - Static method in class tech.units.indriya.quantity.Quantities
-
Returns the mixed radix values and units as
MixedQuantityin the specified scale. - getName() - Method in class tech.units.indriya.AbstractSystemOfUnits
- getName() - Method in class tech.units.indriya.AbstractUnit
- getName() - Method in class tech.units.indriya.quantity.time.TimedData
- getName() - Method in class tech.units.indriya.unit.Units
- getNewInstance() - Static method in class tech.units.indriya.format.EBNFUnitFormat
-
Similar to
EBNFUnitFormat.getInstance(), but returns a new, non-shared unit format instance, instead of a shared singleton instance. - getNewInstance() - Static method in class tech.units.indriya.format.SimpleUnitFormat
-
Similar to
SimpleUnitFormat.getInstance(), but returns a new, non-shared unit format instance, instead of a shared singleton instance. - getNewInstance(SimpleUnitFormat.Flavor) - Static method in class tech.units.indriya.format.SimpleUnitFormat
-
Similar to
SimpleUnitFormat.getInstance(Flavor), but returns a newSimpleUnitFormatinstance in the desiredSimpleUnitFormat.Flavor, instead of a shared singleton instance. - getNormalFormOrder() - Static method in class tech.units.indriya.function.Calculus
- getNumberSystem(String) - Static method in class tech.units.indriya.function.Calculus
-
Returns the given
NumberSystemused for Number arithmetic by (class) name. - getOffset() - Method in class tech.units.indriya.function.AddConverter
-
Returns the offset value for this add converter.
- getParentUnit() - Method in class tech.units.indriya.unit.AlternateUnit
-
Returns the parent unit of this alternate unit, always a system unit and never an alternate unit.
- getParentUnit() - Method in class tech.units.indriya.unit.TransformedUnit
-
Returns the parent unit for this unit.
- getPattern() - Method in class tech.units.indriya.format.SimpleQuantityFormat
-
Returns the pattern of this format.
- getPrefix(String) - Method in class tech.units.indriya.format.SymbolMap
-
Returns the prefix (if any) for the specified symbol.
- getPrefix(UnitConverter) - Method in class tech.units.indriya.format.SymbolMap
-
Returns the prefix for the specified converter.
- getPrimaryUnit() - Method in class tech.units.indriya.function.MixedRadix
- getPriority() - Method in class tech.units.indriya.format.DefaultFormatService
- getPriority() - Method in class tech.units.indriya.spi.DefaultServiceProvider
-
Returns the default priority.
- getQuantities() - Method in class tech.units.indriya.quantity.MixedQuantity
-
Gets quantities in this MixedQuantity.
- getQuantity(CharSequence) - Static method in class tech.units.indriya.quantity.Quantities
-
Returns the scalar quantity of unknown type corresponding to the specified representation.
- getQuantity(Long, TemporalUnit) - Static method in class tech.units.indriya.quantity.time.TimeQuantities
- getQuantity(Long, TimeUnit) - Static method in class tech.units.indriya.quantity.time.TimeQuantities
- getQuantity(Number[], Unit<Q>...) - Static method in class tech.units.indriya.quantity.Quantities
-
Returns the mixed radix values and units combined into a single quantity in the
ABSOLUTEscale. - getQuantity(Number[], Unit<Q>[], Quantity.Scale) - Static method in class tech.units.indriya.quantity.Quantities
-
Returns the mixed radix values and units combined into a single quantity of type
NumberQuantityin the specified unit and scale. - getQuantity(Number, Unit<Q>) - Static method in class tech.units.indriya.quantity.Quantities
-
Returns the scalar quantity of type
NumberQuantityin the specified unit andABSOLUTEscale. - getQuantity(Number, Unit<Q>, Quantity.Scale) - Static method in class tech.units.indriya.quantity.Quantities
-
Returns the scalar quantity of type
NumberQuantityin the specified unit and scale. - getQuantity(LocalTime, LocalTime) - Static method in class tech.units.indriya.quantity.time.TimeQuantities
- getQuantity(LocalTime, Supplier<TemporalAdjuster>) - Static method in class tech.units.indriya.quantity.time.TimeQuantities
- getQuantity(Temporal, Temporal) - Static method in class tech.units.indriya.quantity.time.TimeQuantities
- getQuantity(Temporal, Supplier<TemporalAdjuster>) - Static method in class tech.units.indriya.quantity.time.TimeQuantities
- getQuantityFactory(Class<Q>) - Method in class tech.units.indriya.spi.AbstractServiceProvider
-
Return a factory for this quantity
- getQuantityFormat() - Method in class tech.units.indriya.format.DefaultFormatService
- getQuantityFormat(String) - Method in class tech.units.indriya.format.DefaultFormatService
- getResolution() - Method in class tech.units.indriya.quantity.QuantityRange
- getResolution() - Method in interface tech.units.indriya.spi.Range
-
Returns the resolution of the range.
- getRight() - Method in class tech.units.indriya.function.AbstractConverter.Pair
- getScale() - Method in class tech.units.indriya.AbstractQuantity
-
Returns the absolute or relative scale.
- getService(Class<T>) - Method in class tech.units.indriya.spi.AbstractServiceProvider
- getServices(Class<T>) - Method in class tech.units.indriya.spi.AbstractServiceProvider
-
Loads and registers services.
- getSum() - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
Get the sum of all amounts within this summary.
- getSum(Unit<Q>) - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
Get the sum of all amounts within this summary converted to unit
- getSymbol() - Method in class tech.units.indriya.AbstractUnit
- getSymbol() - Method in class tech.units.indriya.unit.AnnotatedUnit
- getSymbol(String, Locale) - Method in class tech.units.indriya.spi.UnitNameProvider
-
Gets the symbol of the given unit for the specified locale.
- getSymbol(Prefix) - Method in class tech.units.indriya.format.SymbolMap
-
Returns the symbol for the specified prefix.
- getSymbol(Unit<?>) - Method in class tech.units.indriya.format.SymbolMap
-
Returns the symbol (label) for the specified unit.
- getSymbols() - Method in class tech.units.indriya.format.EBNFUnitFormat
-
Get the symbol map used by this instance to map between
Units andStrings, etc... - getSymbols() - Method in class tech.units.indriya.format.LocalUnitFormat
-
Get the symbol map used by this instance to map between
Units andStrings, etc... - getSystemConverter() - Method in class tech.units.indriya.AbstractUnit
-
Returns the converter from this unit to its unscaled
System Unitunit. - getSystemConverter() - Method in class tech.units.indriya.unit.AlternateUnit
- getSystemConverter() - Method in class tech.units.indriya.unit.AnnotatedUnit
- getSystemConverter() - Method in class tech.units.indriya.unit.BaseUnit
- getSystemConverter() - Method in class tech.units.indriya.unit.ProductUnit
- getSystemConverter() - Method in class tech.units.indriya.unit.TransformedUnit
- getSystemOfUnits() - Method in class tech.units.indriya.unit.DefaultSystemOfUnitsService
- getSystemOfUnits(String) - Method in class tech.units.indriya.spi.AbstractSystemOfUnitsService
- getSystemOfUnitsService() - Method in class tech.units.indriya.spi.AbstractServiceProvider
- getSystemUnit() - Method in class tech.units.indriya.AbstractUnit
-
Returns the system unit (unscaled SI unit) from which this unit is derived.
- getSystemUnit() - Method in class tech.units.indriya.quantity.DefaultQuantityFactory
- getTemporalAmount() - Method in class tech.units.indriya.quantity.time.TemporalQuantity
-
Returns the
TemporalAmountof thisTemporalQuantity, which may involve rounding or truncation. - getTemporalUnit() - Method in class tech.units.indriya.quantity.time.TemporalQuantity
-
get to
TemporalUnit - getTimestamp() - Method in class tech.units.indriya.quantity.time.TimedData
-
Returns the time with which this TimedData was created.
- getTimestamp() - Method in interface tech.units.indriya.spi.Measurement
-
Returns the timestamp of this
Measurement. - getTimeUnit() - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
-
get to
TimeUnit - getToken() - Method in exception tech.units.indriya.format.TokenException
- getUnit() - Method in class tech.units.indriya.AbstractQuantity
-
Returns the measurement unit.
- getUnit(int) - Method in class tech.units.indriya.unit.ProductUnit
-
Returns the unit element at the specified position.
- getUnit(Class<Q>) - Method in class tech.units.indriya.AbstractSystemOfUnits
- getUnit(String) - Method in class tech.units.indriya.AbstractSystemOfUnits
- getUnit(String) - Method in class tech.units.indriya.format.SymbolMap
-
Returns the unit for the specified symbol.
- getUnit(String, UnitStyle) - Method in class tech.units.indriya.AbstractSystemOfUnits
- getUnit(String, UnitStyle, boolean) - Method in class tech.units.indriya.AbstractSystemOfUnits
- getUnitCount() - Method in class tech.units.indriya.unit.ProductUnit
-
Returns the number of unit elements in this product.
- getUnitFormat() - Method in class tech.units.indriya.format.DefaultFormatService
- getUnitFormat(String) - Method in class tech.units.indriya.format.DefaultFormatService
- getUnitFormat(String, String) - Method in class tech.units.indriya.format.DefaultFormatService
- getUnitPow(int) - Method in class tech.units.indriya.unit.ProductUnit
-
Returns the power exponent of the unit element at the specified position.
- getUnitRoot(int) - Method in class tech.units.indriya.unit.ProductUnit
-
Returns the root exponent of the unit element at the specified position.
- getUnits() - Method in class tech.units.indriya.AbstractSystemOfUnits
- getUnits() - Method in class tech.units.indriya.function.MixedRadix
- getUnits() - Method in class tech.units.indriya.quantity.MixedQuantity
-
Gets the list of units in this MixedQuantity.
- getUnits(Dimension) - Method in class tech.units.indriya.AbstractSystemOfUnits
- getValue() - Method in class tech.units.indriya.AbstractQuantity
-
Returns the numeric value of the quantity.
- getValue() - Method in class tech.units.indriya.format.Token
-
An optional attribute value of the Token.
- getValue() - Method in class tech.units.indriya.function.AddConverter
- getValue() - Method in class tech.units.indriya.function.ExpConverter
- getValue() - Method in class tech.units.indriya.function.LogConverter
- getValue() - Method in class tech.units.indriya.function.PowerOfIntConverter
- getValue() - Method in class tech.units.indriya.function.RationalConverter
- getValue() - Method in class tech.units.indriya.quantity.NumberQuantity
- getValue() - Method in class tech.units.indriya.quantity.time.TemporalQuantity
-
get value expressed in
Number - getValue() - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
-
get value expressed in
Number - GRAM - Static variable in class tech.units.indriya.unit.Units
-
The SI derived unit for mass quantities (standard name
g). - GRAY - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for absorbed dose, specific energy (imparted), kerma (standard name
Gy).
H
- hasFraction(double) - Method in class tech.units.indriya.AbstractQuantity
-
Deprecated.seems unused
- hasFraction(BigDecimal) - Method in class tech.units.indriya.AbstractQuantity
-
Deprecated.seems unused
- hashCode() - Method in class tech.units.indriya.AbstractQuantity
-
Returns the hash code for this quantity.
- hashCode() - Method in class tech.units.indriya.AbstractUnit
- hashCode() - Method in class tech.units.indriya.function.AbstractConverter
- hashCode() - Method in class tech.units.indriya.function.AbstractConverter.Pair
- hashCode() - Method in class tech.units.indriya.function.AddConverter
- hashCode() - Method in class tech.units.indriya.function.ExpConverter
- hashCode() - Method in class tech.units.indriya.function.LogConverter
- hashCode() - Method in class tech.units.indriya.function.PowerOfIntConverter
- hashCode() - Method in class tech.units.indriya.function.QuantitySummaryStatistics
- hashCode() - Method in class tech.units.indriya.function.RationalConverter
- hashCode() - Method in class tech.units.indriya.function.RationalNumber
- hashCode() - Method in class tech.units.indriya.quantity.DefaultQuantityFactory
- hashCode() - Method in class tech.units.indriya.quantity.MixedQuantity
- hashCode() - Method in class tech.units.indriya.quantity.QuantityRange
- hashCode() - Method in class tech.units.indriya.quantity.time.TemporalQuantity
- hashCode() - Method in class tech.units.indriya.quantity.time.TimedData
- hashCode() - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- hashCode() - Method in class tech.units.indriya.unit.AlternateUnit
- hashCode() - Method in class tech.units.indriya.unit.AnnotatedUnit
- hashCode() - Method in class tech.units.indriya.unit.BaseUnit
- hashCode() - Method in class tech.units.indriya.unit.ProductUnit
- hashCode() - Method in class tech.units.indriya.unit.TransformedUnit
- hashCode() - Method in class tech.units.indriya.unit.UnitDimension
- hasMaximum() - Method in class tech.units.indriya.quantity.QuantityRange
- hasMaximum() - Method in interface tech.units.indriya.spi.Range
-
Method to easily check if
Range.getMaximum()is notnull. - hasMinimum() - Method in class tech.units.indriya.quantity.QuantityRange
- hasMinimum() - Method in interface tech.units.indriya.spi.Range
-
Method to easily check if
Range.getMinimum()is notnull. - Helper() - Constructor for class tech.units.indriya.AbstractSystemOfUnits.Helper
- HENRY - Static variable in class tech.units.indriya.unit.Units
-
The alternate unit for inductance (standard name
H). - HERTZ - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for frequency (standard name
Hz). - HOUR - Static variable in class tech.units.indriya.unit.Units
-
A time unit accepted for use with SI units (standard name
h).
I
- identity() - Static method in interface tech.units.indriya.function.MultiplyConverter
-
Returns a MultiplyConverter that acts as a 'pass-through'.
- IDENTITY - Static variable in class tech.units.indriya.function.AbstractConverter
-
Default identity converter implementing AbstractConverter.
- image - Variable in class tech.units.indriya.format.Token
-
The string image of the token.
- internalGetConverterTo(Unit<Q>, boolean) - Method in class tech.units.indriya.AbstractUnit
- intValue() - Method in class tech.units.indriya.function.RationalNumber
- INVALID_LEXICAL_STATE - Static variable in error tech.units.indriya.format.TokenMgrError
-
Tried to change to an invalid lexical state.
- inverse() - Method in class tech.units.indriya.AbstractUnit
-
Returns the inverse of this physical unit.
- inverse() - Method in interface tech.units.indriya.ComparableQuantity
- inverse() - Method in class tech.units.indriya.function.AbstractConverter
- inverse() - Method in class tech.units.indriya.quantity.NumberQuantity
- inverse() - Method in class tech.units.indriya.quantity.time.TemporalQuantity
- inverse() - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- inverse(Class<T>) - Method in class tech.units.indriya.AbstractQuantity
- inverse(Class<T>) - Method in interface tech.units.indriya.ComparableQuantity
-
invert and already cast to defined quantityClass
- inverseWhenNotIdentity() - Method in class tech.units.indriya.function.AbstractConverter
-
Non-API
- inverseWhenNotIdentity() - Method in class tech.units.indriya.function.AbstractConverter.Pair
- inverseWhenNotIdentity() - Method in class tech.units.indriya.function.AddConverter
- inverseWhenNotIdentity() - Method in class tech.units.indriya.function.ExpConverter
- inverseWhenNotIdentity() - Method in class tech.units.indriya.function.LogConverter
- inverseWhenNotIdentity() - Method in class tech.units.indriya.function.PowerOfIntConverter
- inverseWhenNotIdentity() - Method in class tech.units.indriya.function.RationalConverter
- isCompatible(Unit<?>) - Method in class tech.units.indriya.AbstractUnit
-
Indicates if this unit is compatible with the unit specified.
- isEquivalentTo(Quantity<Q>) - Method in class tech.units.indriya.AbstractQuantity
- isEquivalentTo(Unit<Q>) - Method in class tech.units.indriya.AbstractUnit
- isGreaterThan(Quantity<Q>) - Method in class tech.units.indriya.AbstractQuantity
- isGreaterThan(Quantity<Q>) - Method in interface tech.units.indriya.ComparableQuantity
-
Compares two instances of
Quantity. - isGreaterThanOrEqualTo(Quantity<Q>) - Method in class tech.units.indriya.AbstractQuantity
- isGreaterThanOrEqualTo(Quantity<Q>) - Method in interface tech.units.indriya.ComparableQuantity
-
Compares two instances of
Quantity, converting the unit if necessary. - isIdentity() - Method in class tech.units.indriya.function.AbstractConverter.Pair
- isIdentity() - Method in class tech.units.indriya.function.AddConverter
- isIdentity() - Method in class tech.units.indriya.function.ExpConverter
- isIdentity() - Method in class tech.units.indriya.function.LogConverter
- isIdentity() - Method in class tech.units.indriya.function.PowerOfIntConverter
- isIdentity() - Method in class tech.units.indriya.function.RationalConverter
- isInteger() - Method in class tech.units.indriya.function.RationalNumber
- isInteger(Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- isInteger(Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
Checks whether given
numberhas fractional parts or not. - isLessThan(Quantity<Q>) - Method in class tech.units.indriya.AbstractQuantity
- isLessThan(Quantity<Q>) - Method in interface tech.units.indriya.ComparableQuantity
-
Compares two instances of
Quantity, converting the unit if necessary. - isLessThanOne(Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- isLessThanOne(Number) - Method in interface tech.units.indriya.spi.NumberSystem
- isLessThanOrEqualTo(Quantity<Q>) - Method in class tech.units.indriya.AbstractQuantity
- isLessThanOrEqualTo(Quantity<Q>) - Method in interface tech.units.indriya.ComparableQuantity
-
Compares two instances of
Quantity, converting the unit if necessary. - isLinear() - Method in class tech.units.indriya.function.AbstractConverter.Pair
- isLinear() - Method in class tech.units.indriya.function.AddConverter
- isLinear() - Method in class tech.units.indriya.function.ExpConverter
- isLinear() - Method in class tech.units.indriya.function.LogConverter
- isLinear() - Method in interface tech.units.indriya.function.MultiplyConverter
- isLocaleSensitive() - Method in class tech.units.indriya.format.LocalUnitFormat
- isLocaleSensitive() - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
- isOne(Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- isOne(Number) - Method in interface tech.units.indriya.spi.NumberSystem
- isSystemUnit() - Method in class tech.units.indriya.AbstractUnit
-
Indicates if this unit belongs to the set of coherent SI units (unscaled SI units).
- isValidIdentifier(String) - Method in class tech.units.indriya.format.SimpleUnitFormat
-
Indicates if the specified name can be used as unit identifier.
- isZero(Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- isZero(Number) - Method in interface tech.units.indriya.spi.NumberSystem
J
- JOULE - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for energy, work, quantity of heat (
J).
K
- KATAL - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for catalytic activity (standard name
kat). - KELVIN - Static variable in class tech.units.indriya.unit.Units
-
The kelvin, symbol K, is the SI unit of thermodynamic temperature.
- KILOGRAM - Static variable in class tech.units.indriya.unit.Units
-
The kilogram, symbol kg, is the SI unit of mass.
- KILOMETRE_PER_HOUR - Static variable in class tech.units.indriya.unit.Units
-
A unit of speed expressing the number of international kilometres per
hour(abbreviationkm/h). - kind - Variable in class tech.units.indriya.format.Token
-
An integer that describes the kind of this token.
L
- label(Prefix, String) - Method in class tech.units.indriya.format.SymbolMap
-
Attaches a label to the specified prefix.
- label(Unit<?>, String) - Method in class tech.units.indriya.format.AbstractUnitFormat
- label(Unit<?>, String) - Method in class tech.units.indriya.format.EBNFUnitFormat
- label(Unit<?>, String) - Method in class tech.units.indriya.format.SimpleUnitFormat
-
Attaches a system-wide label to the specified unit.
- label(Unit<?>, String) - Method in class tech.units.indriya.format.SymbolMap
-
Attaches a label to the specified unit.
- LABEL - tech.units.indriya.format.UnitStyle
-
The unit will be rendered as its label.
- LEADING_UNIT - tech.units.indriya.function.MixedRadix.PrimaryUnitPick
- LENGTH - Static variable in class tech.units.indriya.unit.UnitDimension
-
Holds length dimension (L).
- LEXICAL_ERROR - Static variable in error tech.units.indriya.format.TokenMgrError
-
Lexical error occurred.
- lexicalError(boolean, int, int, String, char) - Static method in error tech.units.indriya.format.TokenMgrError
-
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
- linearFactor() - Method in class tech.units.indriya.function.AbstractConverter
-
Even though transformations may be composed of addition and multiplication, the first derivative might just be a linear function.
- linearFactor() - Method in class tech.units.indriya.function.AbstractConverter.Pair
- LITRE - Static variable in class tech.units.indriya.unit.Units
-
A volume unit accepted for use with SI units (standard name
l). - LOCALE_NEUTRAL - tech.units.indriya.format.FormatBehavior
-
Formatting occurs in a locale-neutral way.
- LOCALE_SENSITIVE - tech.units.indriya.format.FormatBehavior
-
Formatting occurs in a locale-sensitive way.
- LocalUnitFormat - Class in tech.units.indriya.format
-
This class represents the locale sensitive format.
- log(Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- log(Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
Returns the natural logarithm of given
numberas aNumberthat best represents the arithmetic result within the set of number types this NumberSystem supports. - LogConverter - Class in tech.units.indriya.function
-
This class represents a logarithmic converter of limited precision.
- LogConverter(double) - Constructor for class tech.units.indriya.function.LogConverter
-
Returns a logarithmic converter having the specified base.
- logger - Static variable in class tech.units.indriya.AbstractSystemOfUnits
- longValue() - Method in class tech.units.indriya.function.RationalNumber
- LOOP_DETECTED - Static variable in error tech.units.indriya.format.TokenMgrError
-
Detected (and bailed out of) an infinite loop in the token manager.
- LUMEN - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for luminous flux (standard name
lm). - LUMINOUS_INTENSITY - Static variable in class tech.units.indriya.unit.UnitDimension
-
Holds luminous intensity dimension (J).
- LUX - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for illuminance (standard name
lx).
M
- MASS - Static variable in class tech.units.indriya.unit.UnitDimension
-
Holds mass dimension (M).
- MATH_CONTEXT - Static variable in class tech.units.indriya.function.Calculus
-
Exposes (non-final) the MathContext used for BigDecimal calculus.
- Measurement<Q extends Quantity<Q>> - Interface in tech.units.indriya.spi
-
A Measurement contains a
Quantityand a timestamp. - METRE - Static variable in class tech.units.indriya.unit.Units
-
The metre, symbol m, is the SI unit of length.
- METRE_PER_SECOND - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for speed quantities (standard name
m/s). - METRE_PER_SQUARE_SECOND - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for acceleration quantities (standard name
m/s2). - MICROSECOND - Static variable in class tech.units.indriya.quantity.time.TimeQuantities
- MILLISECOND - Static variable in class tech.units.indriya.quantity.time.TimeQuantities
- MINUTE - Static variable in class tech.units.indriya.unit.Units
-
A time unit accepted for use with SI units (standard name
min). - mix(Unit<Q>) - Method in class tech.units.indriya.function.MixedRadix
- MixedQuantity<Q extends Quantity<Q>> - Class in tech.units.indriya.quantity
-
This class represents mixed-radix quantities (like "1 hour, 5 min, 30 sec" or "6 ft, 3 in").
- MixedQuantity(List<Quantity<Q>>) - Constructor for class tech.units.indriya.quantity.MixedQuantity
- MixedRadix<Q extends Quantity<Q>> - Class in tech.units.indriya.function
-
Immutable class that represents mixed-radix units (like "hour:min:sec" or "ft, in")
- MixedRadix.PrimaryUnitPick - Enum in tech.units.indriya.function
- MOLE - Static variable in class tech.units.indriya.unit.Units
-
The mole, symbol mol, is the SI unit of amount of substance.
- MONTH - Static variable in class tech.units.indriya.unit.Units
-
A unit of duration equal to 1/12
YEAR(common namemo). - multiply(double) - Method in class tech.units.indriya.AbstractUnit
- multiply(Number) - Method in class tech.units.indriya.AbstractUnit
- multiply(Number) - Method in interface tech.units.indriya.ComparableQuantity
- multiply(Number) - Method in class tech.units.indriya.quantity.NumberQuantity
- multiply(Number) - Method in class tech.units.indriya.quantity.time.TemporalQuantity
- multiply(Number) - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- multiply(Number, Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- multiply(Number, Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
Returns the product of given
xandyas aNumberthat best represents the arithmetic result within the set of number types this NumberSystem supports. - multiply(Dimension) - Method in class tech.units.indriya.unit.UnitDimension
-
Returns the product of this dimension with the one specified.
- multiply(Quantity<?>) - Method in interface tech.units.indriya.ComparableQuantity
- multiply(Quantity<?>) - Method in class tech.units.indriya.quantity.NumberQuantity
- multiply(Quantity<?>) - Method in class tech.units.indriya.quantity.time.TemporalQuantity
- multiply(Quantity<?>) - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- multiply(Quantity<T>, Class<E>) - Method in class tech.units.indriya.AbstractQuantity
- multiply(Quantity<T>, Class<E>) - Method in interface tech.units.indriya.ComparableQuantity
-
Divide and cast the
ComparableQuantity - multiply(Unit<?>) - Method in class tech.units.indriya.AbstractUnit
-
Returns the product of this physical unit with the one specified.
- multiply(RationalNumber) - Method in class tech.units.indriya.function.RationalNumber
-
Returns a new instance of
RationalNumberrepresenting the multiplicationthis * that. - MultiplyConverter - Interface in tech.units.indriya.function
-
This class represents a converter multiplying numeric values by a constant scaling factor represented by the
Numbertype.
N
- NAME - tech.units.indriya.format.UnitStyle
-
The unit will be rendered as its name.
- NAME_AND_SYMBOL - tech.units.indriya.format.UnitStyle
-
The unit will be rendered as its name and symbol.
- NANOSECOND - Static variable in class tech.units.indriya.quantity.time.TimeQuantities
- narrow(Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- narrow(Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
'Narrows' given
numberas aNumberthat best represents the numeric value within the set of number types this NumberSystem supports. - negate() - Method in class tech.units.indriya.function.RationalNumber
-
Returns a new instance of
RationalNumberrepresenting the negation ofthis. - negate() - Method in class tech.units.indriya.quantity.NumberQuantity
- negate() - Method in class tech.units.indriya.quantity.time.TemporalQuantity
- negate() - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- negate(Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- negate(Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
Returns the negation of given
numberas aNumberthat best represents the arithmetic result within the set of number types this NumberSystem supports. - NEWTON - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for force (standard name
N). - next - Variable in class tech.units.indriya.format.Token
-
A reference to the next regular (non-special) token from the input stream.
- NONE - Static variable in class tech.units.indriya.AbstractQuantity
-
Holds a dimensionless quantity of none (exact).
- NONE - Static variable in class tech.units.indriya.unit.UnitDimension
-
Holds dimensionless.
- NumberDelimiterQuantityFormat - Class in tech.units.indriya.format
- NumberDelimiterQuantityFormat.Builder - Class in tech.units.indriya.format
-
A fluent Builder to easily create new instances of
NumberDelimiterQuantityFormat. - NumberQuantity<Q extends Quantity<Q>> - Class in tech.units.indriya.quantity
-
Implementation of
ComparableQuantitythat holds a JavaNumber, which represented this quantity's amount. - NumberQuantity(Number, Unit<Q>) - Constructor for class tech.units.indriya.quantity.NumberQuantity
- NumberQuantity(Number, Unit<Q>, Quantity.Scale) - Constructor for class tech.units.indriya.quantity.NumberQuantity
- NumberSystem - Interface in tech.units.indriya.spi
- NumberSystem.DivisionResult - Class in tech.units.indriya.spi
-
Immutable value type, holder of 2 numbers.
O
- of(double) - Static method in class tech.units.indriya.function.ExpConverter
-
Creates a logarithmic converter having the specified base.
- of(double) - Static method in interface tech.units.indriya.function.MultiplyConverter
-
Creates a MultiplyConverter with the specified constant factor.
- of(double) - Static method in class tech.units.indriya.function.RationalNumber
-
Returns a
RationalNumberthat represents the given double precisionnumber, with an accuracy equivalent toBigDecimal.valueOf(double). - of(int) - Static method in class tech.units.indriya.format.Token
- of(int, String) - Static method in class tech.units.indriya.format.Token
-
Returns a new Token object, by default.
- of(long, long) - Static method in class tech.units.indriya.function.RationalNumber
-
Returns a
RationalNumberthat represents the divisiondividend/divisor. - of(Class<Q>) - Static method in class tech.units.indriya.unit.UnitDimension
-
Returns the dimension for the specified quantity type by aggregating the results from the default
SystemOfUnitsornullif the specified quantity is unknown. - of(Number) - Static method in interface tech.units.indriya.function.MultiplyConverter
-
Creates a MultiplyConverter with the specified constant factor.
- of(Number, Number) - Static method in class tech.units.indriya.spi.NumberSystem.DivisionResult
- of(Number, TemporalUnit) - Static method in class tech.units.indriya.quantity.time.TemporalQuantity
- of(Number, TimeUnit) - Static method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- of(BigDecimal) - Static method in class tech.units.indriya.function.RationalNumber
-
Returns a
RationalNumberthat represents the given BigDecimal decimalValue. - of(BigInteger, BigInteger) - Static method in class tech.units.indriya.function.RationalNumber
-
Returns a
RationalNumberthat represents the divisiondividend/divisor. - of(Collection<Unit<X>>) - Static method in class tech.units.indriya.function.MixedRadix
- of(List<Quantity<Q>>) - Static method in class tech.units.indriya.quantity.MixedQuantity
- of(ResourceBundle) - Static method in class tech.units.indriya.format.SymbolMap
-
Creates a symbol map from the specified resource bundle,
- of(Quantity<Time>) - Static method in class tech.units.indriya.quantity.time.TemporalQuantity
- of(Quantity<Time>) - Static method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- of(Quantity<Q>) - Static method in interface tech.units.indriya.spi.Measurement
- of(Quantity<Q>...) - Static method in class tech.units.indriya.quantity.MixedQuantity
- of(Quantity<Q>, long) - Static method in class tech.units.indriya.quantity.time.TimedQuantityData
-
Returns a
TimedQuantityDatawith the specified values. - of(Quantity<Q>, long) - Static method in interface tech.units.indriya.spi.Measurement
- of(Quantity<Q>, Instant) - Static method in interface tech.units.indriya.spi.Measurement
- of(Quantity, Quantity) - Static method in class tech.units.indriya.quantity.QuantityRange
-
Returns an
QuantityRangewith the specified values. - of(Quantity, Quantity, Quantity) - Static method in class tech.units.indriya.quantity.QuantityRange
-
Returns an
QuantityRangewith the specified values. - of(Unit<?>, String) - Static method in class tech.units.indriya.unit.AlternateUnit
-
Creates an alternate unit for the specified system unit identified by the specified name and symbol.
- of(Unit<?>, String, String) - Static method in class tech.units.indriya.unit.AlternateUnit
-
Creates an alternate unit for the specified system unit identified by the specified name and symbol.
- of(Unit<Q>, String) - Static method in class tech.units.indriya.unit.AnnotatedUnit
-
Creates an annotated unit equivalent to the specified unit.
- of(Unit<X>) - Static method in class tech.units.indriya.function.MixedRadix
- of(Unit<X>...) - Static method in class tech.units.indriya.function.MixedRadix
- of(ComparableQuantity<Q>) - Static method in interface tech.units.indriya.spi.Measurement
- of(ComparableQuantity<Q>, Instant) - Static method in interface tech.units.indriya.spi.Measurement
- of(T, long) - Static method in class tech.units.indriya.quantity.time.TimedData
-
Returns a
TimedDatawith the specified values. - of(T, long, String) - Static method in class tech.units.indriya.quantity.time.TimedData
-
Returns a
TimedDatawith the specified values. - ofExponent(int, int) - Static method in interface tech.units.indriya.function.MultiplyConverter
-
Creates a MultiplyConverter with the specified base and exponent.
- ofInteger(long) - Static method in class tech.units.indriya.function.RationalNumber
-
Returns a
RationalNumberwith divisor ONE. - ofInteger(BigInteger) - Static method in class tech.units.indriya.function.RationalNumber
-
Returns a
RationalNumberwith divisor ONE. - ofPiExponent(int) - Static method in interface tech.units.indriya.function.MultiplyConverter
-
Creates a MultiplyConverter with the specified exponent of Pi.
- ofPow(Unit<?>, int) - Static method in class tech.units.indriya.unit.ProductUnit
-
Returns the product unit corresponding to this unit raised to the specified exponent.
- ofPrefix(Prefix) - Static method in interface tech.units.indriya.function.MultiplyConverter
-
Creates a MultiplyConverter with the specified Prefix.
- ofPrimary(Unit<X>) - Static method in class tech.units.indriya.function.MixedRadix
- ofProduct(Unit<?>, Unit<?>) - Static method in class tech.units.indriya.unit.ProductUnit
-
Returns the product of the specified units.
- ofQuotient(Unit<?>, Unit<?>) - Static method in class tech.units.indriya.unit.ProductUnit
-
Returns the quotient of the specified units.
- ofRational(long, long) - Static method in interface tech.units.indriya.function.MultiplyConverter
-
Creates a MultiplyConverter with the specified rational factor made up of
dividendanddivisor - ofRational(BigInteger, BigInteger) - Static method in interface tech.units.indriya.function.MultiplyConverter
-
Creates a MultiplyConverter with the specified rational factor made up of
dividendanddivisor - ofRational(RationalNumber) - Static method in interface tech.units.indriya.function.MultiplyConverter
- ofRoot(Unit<?>, int) - Static method in class tech.units.indriya.unit.ProductUnit
-
Returns the product unit corresponding to the specified root of the specified unit.
- ofTenExponent(int) - Static method in interface tech.units.indriya.function.MultiplyConverter
-
Creates a MultiplyConverter with base 10 and an exponent.
- OHM - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for electric resistance (standard name
Ohm). - ONE - Static variable in class tech.units.indriya.AbstractQuantity
-
Holds a dimensionless quantity of one (exact).
- ONE - Static variable in class tech.units.indriya.AbstractUnit
-
Holds the dimensionless unit
ONE. - ONE - Static variable in class tech.units.indriya.function.RationalNumber
P
- Pair(UnitConverter, UnitConverter) - Constructor for class tech.units.indriya.function.AbstractConverter.Pair
-
Creates a pair converter resulting from the combined transformation of the specified converters.
- parse(char) - Static method in class tech.units.indriya.unit.UnitDimension
-
Returns the dimension for the specified symbol.
- parse(CharSequence) - Static method in class tech.units.indriya.AbstractQuantity
-
Returns the quantity of unknown type corresponding to the specified representation.
- parse(CharSequence) - Static method in class tech.units.indriya.AbstractUnit
-
Returns the abstract unit represented by the specified characters as per default format.
- parse(CharSequence) - Method in class tech.units.indriya.format.AbstractQuantityFormat
-
Parses a portion of the specified
CharSequencefrom the specified position to produce an object. - parse(CharSequence) - Method in class tech.units.indriya.format.EBNFUnitFormat
- parse(CharSequence) - Method in class tech.units.indriya.format.LocalUnitFormat
- parse(CharSequence) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
- parse(CharSequence) - Method in class tech.units.indriya.format.SimpleQuantityFormat
- parse(CharSequence, int) - Method in class tech.units.indriya.format.AbstractQuantityFormat
-
Parses a portion of the specified
CharSequencefrom the specified position to produce an object. - parse(CharSequence, int) - Method in class tech.units.indriya.format.AbstractUnitFormat
-
Parses a portion of the specified
CharSequencefrom the specified position to produce a unit. - parse(CharSequence, int) - Method in class tech.units.indriya.format.EBNFUnitFormat
- parse(CharSequence, int) - Method in class tech.units.indriya.format.LocalUnitFormat
- parse(CharSequence, int) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
- parse(CharSequence, int) - Method in class tech.units.indriya.format.SimpleQuantityFormat
- parse(CharSequence, ParsePosition) - Method in class tech.units.indriya.format.AbstractQuantityFormat
-
Parses a portion of the specified
CharSequencefrom the specified position to produce an object. - parse(CharSequence, ParsePosition) - Method in class tech.units.indriya.format.AbstractUnitFormat
-
Parses a portion of the specified
CharSequencefrom the specified position to produce a unit. - parse(CharSequence, ParsePosition) - Method in class tech.units.indriya.format.EBNFUnitFormat
- parse(CharSequence, ParsePosition) - Method in class tech.units.indriya.format.LocalUnitFormat
- parse(CharSequence, ParsePosition) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
- parse(CharSequence, ParsePosition) - Method in class tech.units.indriya.format.SimpleQuantityFormat
- parseMixed(CharSequence) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
- parseMixed(CharSequence, int) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
- parseMixed(CharSequence, ParsePosition) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
- parseObject(String, ParsePosition) - Method in class tech.units.indriya.format.AbstractQuantityFormat
- parseObject(String, ParsePosition) - Method in class tech.units.indriya.format.SimpleUnitFormat
-
Parses the text from a string to produce an object (implements
java.text.Format). - parseProductUnit(CharSequence, ParsePosition) - Method in class tech.units.indriya.format.SimpleUnitFormat
-
Parses a sequence of character to produce a unit or a rational product of unit.
- parseSingleUnit(CharSequence, ParsePosition) - Method in class tech.units.indriya.format.SimpleUnitFormat
-
Parses a sequence of character to produce a single unit.
- PASCAL - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for pressure, stress (standard name
Pa). - PERCENT - Static variable in class tech.units.indriya.unit.Units
-
A dimensionless unit accepted for use with SI units (standard name
%). - pow(int) - Method in class tech.units.indriya.AbstractUnit
-
Returns a unit equals to this unit raised to an exponent.
- pow(int) - Method in class tech.units.indriya.function.RationalNumber
-
Returns a new instance of
RationalNumberrepresenting the reciprocal ofthis. - pow(int) - Method in class tech.units.indriya.unit.ProductUnit
- pow(int) - Method in class tech.units.indriya.unit.UnitDimension
-
Returns this dimension raised to an exponent.
- power(Number, int) - Method in class tech.units.indriya.function.DefaultNumberSystem
- power(Number, int) - Method in interface tech.units.indriya.spi.NumberSystem
-
Returns given
numberto the power ofexponentas aNumberthat best represents the arithmetic result within the set of number types this NumberSystem supports. - PowerOfIntConverter - Class in tech.units.indriya.function
-
UnitConverter for numbers in base^exponent representation.
- PowerOfIntConverter(int, int) - Constructor for class tech.units.indriya.function.PowerOfIntConverter
- prefix(Prefix) - Method in class tech.units.indriya.AbstractUnit
- PRIMARY_UNIT_PICK - Static variable in class tech.units.indriya.function.MixedRadix
- PRIMARY_UNIT_PICK_DEFAULT - Static variable in class tech.units.indriya.function.MixedRadix
- ProductUnit<Q extends Quantity<Q>> - Class in tech.units.indriya.unit
-
This class represents units formed by the product of rational powers of existing physical units.
- ProductUnit() - Constructor for class tech.units.indriya.unit.ProductUnit
-
DefaultQuantityFactory constructor (used solely to create
ONEinstance). - ProductUnit(Unit<?>) - Constructor for class tech.units.indriya.unit.ProductUnit
-
Copy constructor (allows for parameterization of product units).
Q
- Quantities - Class in tech.units.indriya.quantity
-
Facade to access
Quantityinstances. - QuantityRange<Q extends Quantity<Q>> - Class in tech.units.indriya.quantity
- QuantityRange(Quantity<Q>, Quantity<Q>) - Constructor for class tech.units.indriya.quantity.QuantityRange
- QuantityRange(Quantity<Q>, Quantity<Q>, Quantity<Q>) - Constructor for class tech.units.indriya.quantity.QuantityRange
-
Construct an instance of QuantityRange with a min, max and res value.
- QuantityStreams - Class in tech.units.indriya.function
-
Utility methods for operating on quantities using streams.
- QuantitySummaryStatistics<Q extends Quantity<Q>> - Class in tech.units.indriya.function
- quantityToUnit - Variable in class tech.units.indriya.AbstractSystemOfUnits
-
Holds the mapping quantity to unit.
- quotient - Variable in class tech.units.indriya.spi.NumberSystem.DivisionResult
-
originating from x / y
R
- RADIAN - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for plane angle quantities (standard name
rad). - Range<T> - Interface in tech.units.indriya.spi
-
A Range is a pair of
Titems that represent a range of values. - RationalConverter - Class in tech.units.indriya.function
-
This class represents a converter multiplying numeric values by an exact scaling factor (represented as the quotient of two
BigIntegernumbers). - RationalNumber - Class in tech.units.indriya.function
-
Represents a rational number
dividend/divisorwithdividendanddivisorbeing integer numbers. - reciprocal() - Method in class tech.units.indriya.function.RationalNumber
-
Returns a new instance of
RationalNumberrepresenting the reciprocal ofthis. - reciprocal(Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- reciprocal(Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
Returns the reciprocal of given
numberas aNumberthat best represents the arithmetic result within the set of number types this NumberSystem supports. - reduce(AbstractConverter) - Method in class tech.units.indriya.function.AbstractConverter
-
Non-API Guarded by
AbstractConverter.canReduceWith(AbstractConverter) - reduce(AbstractConverter) - Method in class tech.units.indriya.function.AddConverter
- reduce(AbstractConverter) - Method in class tech.units.indriya.function.ExpConverter
- reduce(AbstractConverter) - Method in class tech.units.indriya.function.LogConverter
- reduce(AbstractConverter) - Method in class tech.units.indriya.function.PowerOfIntConverter
- reduce(AbstractConverter) - Method in class tech.units.indriya.function.RationalConverter
- remainder - Variable in class tech.units.indriya.spi.NumberSystem.DivisionResult
-
originating from x % y
- removeAlias(Unit<?>, String) - Method in class tech.units.indriya.format.SimpleUnitFormat
-
Removes the given system-wide alias (added by
SimpleUnitFormat.alias(Unit, String)) for this unit and keeps the label (added bySimpleUnitFormat.label(Unit, String)) - removeAliases(Unit<?>) - Method in class tech.units.indriya.format.SimpleUnitFormat
-
Removes all system-wide aliases (added by
SimpleUnitFormat.alias(Unit, String)) for this unit and keeps the label (added bySimpleUnitFormat.label(Unit, String)) - removeLabel(Unit<?>) - Method in class tech.units.indriya.format.SimpleUnitFormat
-
Removes the system-wide label (added by
SimpleUnitFormat.label(Unit, String)) and all system-wide aliases (added bySimpleUnitFormat.alias(Unit, String)) for this unit. - root(int) - Method in class tech.units.indriya.AbstractUnit
-
Returns a unit equals to the given root of this unit.
- root(int) - Method in class tech.units.indriya.unit.UnitDimension
-
Returns the given root of this dimension.
S
- scale - Variable in class tech.units.indriya.AbstractUnit
-
Holds the measurement scale
- SECOND - Static variable in class tech.units.indriya.unit.Units
-
The second, symbol s, is the SI unit of time.
- setCurrent(DimensionalModel) - Static method in class tech.units.indriya.spi.DimensionalModel
-
Sets the current dimensional model
- setCurrentNumberSystem(NumberSystem) - Static method in class tech.units.indriya.function.Calculus
-
Sets the current number system
- setDelimiter(String) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat.Builder
-
Sets the delimiter between a
NumberFormatandUnitFormat. - setLocaleSensitive(boolean) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat.Builder
-
Sets the
localeSensitiveflag. - setName(String) - Method in class tech.units.indriya.AbstractUnit
- setNumberFormat(NumberFormat) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat.Builder
-
Sets the numberFormat parameter to the given
NumberFormat. - setPrimaryUnit(Unit) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat.Builder
-
Sets the primary unit parameter for multiple
mixed quantitiesto the givenUnit. - setRadixPartsDelimiter(String) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat.Builder
-
Sets the radix delimiter between multiple
mixed quantities. - setSymbol(String) - Method in class tech.units.indriya.AbstractUnit
- setUnitFormat(UnitFormat) - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat.Builder
-
Sets the unitFormat parameter to the given
UnitFormat. - shift(double) - Method in class tech.units.indriya.AbstractUnit
- shift(Number) - Method in class tech.units.indriya.AbstractUnit
- SIEMENS - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for electric conductance (standard name
S). - SIEVERT - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for dose equivalent (standard name
Sv). - signum() - Method in class tech.units.indriya.function.RationalNumber
- signum(Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- signum(Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
Returns the signum function of given
number. - SimpleQuantityFormat - Class in tech.units.indriya.format
-
A simple implementation of QuantityFormat
The following pattern letters are defined: Chart shows pattern letters, date/time component, presentation, and examples. Letter Quantity Component Presentation ExamplesnNumeric value Number27uUnit Textm~Mixed radix Text1 m; 27cmPattern letters are usually repeated, as their number determines the exact presentation: Text: For formatting, if the number of pattern letters is 4 or more, the full form is used; otherwise a short or abbreviated form is used if available. - SimpleQuantityFormat() - Constructor for class tech.units.indriya.format.SimpleQuantityFormat
-
Constructs a
SimpleQuantityFormatusing the default pattern. - SimpleQuantityFormat(String) - Constructor for class tech.units.indriya.format.SimpleQuantityFormat
-
Constructs a
SimpleQuantityFormatusing the given pattern. - SimpleUnitFormat - Class in tech.units.indriya.format
-
This class implements the
UnitFormatinterface for formatting and parsingunits. - SimpleUnitFormat() - Constructor for class tech.units.indriya.format.SimpleUnitFormat
-
Base constructor.
- SimpleUnitFormat.Flavor - Enum in tech.units.indriya.format
-
Flavor of this format
- souMap - Variable in class tech.units.indriya.spi.AbstractSystemOfUnitsService
- specialToken - Variable in class tech.units.indriya.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 tech.units.indriya.unit.Units
-
The SI unit for area quantities (standard name
m2). - STATIC_LEXER_ERROR - Static variable in error tech.units.indriya.format.TokenMgrError
-
An attempt was made to create a second instance of a static token manager.
- STERADIAN - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for solid angle quantities (standard name
sr). - subtract(Number, Number) - Method in class tech.units.indriya.function.DefaultNumberSystem
- subtract(Number, Number) - Method in interface tech.units.indriya.spi.NumberSystem
-
Returns the difference of given
xandyas aNumberthat best represents the arithmetic result within the set of number types this NumberSystem supports. - subtract(Quantity<Time>) - Method in class tech.units.indriya.quantity.time.TemporalQuantity
- subtract(Quantity<Time>) - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- subtract(Quantity<Q>) - Method in interface tech.units.indriya.ComparableQuantity
- subtract(Quantity<Q>) - Method in class tech.units.indriya.quantity.NumberQuantity
- subtract(RationalNumber) - Method in class tech.units.indriya.function.RationalNumber
-
Returns a new instance of
RationalNumberrepresenting the subtractionthis - that. - summarizeQuantity(Unit<Q>) - Static method in class tech.units.indriya.function.QuantityStreams
-
Summary of Quantity
- SYMBOL - tech.units.indriya.format.UnitStyle
-
The unit will be rendered as its symbol.
- SYMBOL_AND_LABEL - tech.units.indriya.format.UnitStyle
-
The unit will be rendered as its symbol and also labeled.
- SYMBOL_TO_UNIT - Static variable in class tech.units.indriya.AbstractUnit
-
Holds the unique symbols collection (base units or alternate units).
- SymbolMap - Class in tech.units.indriya.format
-
This class provides a set of mappings between
unitsand symbols (both ways), betweenprefixesand symbols (both ways), and fromunit converterstoMetricPrefix(one way).
T
- tech.units.indriya - package tech.units.indriya
-
This package provides the Reference Implementation of the Units of Measurement API.
- tech.units.indriya.format - package tech.units.indriya.format
- tech.units.indriya.function - package tech.units.indriya.function
-
This package provides functional interfaces and other functions including unit or quantity conversion.
- tech.units.indriya.quantity - package tech.units.indriya.quantity
- tech.units.indriya.quantity.time - package tech.units.indriya.quantity.time
- tech.units.indriya.spi - package tech.units.indriya.spi
- tech.units.indriya.unit - package tech.units.indriya.unit
-
This package provides supports for physics units, in conformity with the Units of Measurement API.
- TEMPERATURE - Static variable in class tech.units.indriya.unit.UnitDimension
-
Holds temperature dimension (Θ).
- TemporalQuantity - Class in tech.units.indriya.quantity.time
-
Class that represents
TemporalUnitin Unit-API - TESLA - Static variable in class tech.units.indriya.unit.Units
-
The alternate unit for magnetic flux density (standard name
T). - TIME - Static variable in class tech.units.indriya.unit.UnitDimension
-
Holds time dimension (T).
- TimedData<T> - Class in tech.units.indriya.quantity.time
-
TimedData is a container for a data value that keeps track of its age.
- TimedData(T, long) - Constructor for class tech.units.indriya.quantity.time.TimedData
-
Construct an instance of TimedData with a value and timestamp.
- TimedData(T, long, String) - Constructor for class tech.units.indriya.quantity.time.TimedData
-
Construct an instance of TimedData with a value, a timestamp and a name.
- TimedQuantityData<Q extends Quantity<Q>> - Class in tech.units.indriya.quantity.time
- TimedQuantityData(Quantity<Q>, long) - Constructor for class tech.units.indriya.quantity.time.TimedQuantityData
- TimeQuantities - Class in tech.units.indriya.quantity.time
- TimeUnitQuantity - Class in tech.units.indriya.quantity.time
-
Class that represents
TimeUnitin Unit-API - to(TemporalUnit) - Method in class tech.units.indriya.quantity.time.TemporalQuantity
- to(TimeUnit) - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- to(Unit<Q>) - Method in class tech.units.indriya.AbstractQuantity
-
Returns this quantity after conversion to specified unit.
- to(Unit<Q>) - Method in interface tech.units.indriya.ComparableQuantity
- to(Unit<Q>) - Method in class tech.units.indriya.function.QuantitySummaryStatistics
-
convert the summary to this unit measure
- to(Unit<Q>) - Method in class tech.units.indriya.quantity.MixedQuantity
-
Returns the sum of all quantity values in this MixedQuantity converted into another (compatible) unit.
- Token - Class in tech.units.indriya.format
-
Describes the input token stream.
- Token() - Constructor for class tech.units.indriya.format.Token
-
No-argument constructor
- TokenException - Exception in tech.units.indriya.format
-
This exception is thrown when token errors are encountered.
- TokenException() - Constructor for exception tech.units.indriya.format.TokenException
-
The following constructors are for use by you for whatever purpose you can think of.
- TokenException(String) - Constructor for exception tech.units.indriya.format.TokenException
-
Constructor with message.
- TokenException(Token, int[][], String[]) - Constructor for exception tech.units.indriya.format.TokenException
-
This constructor is used by the method "raiseTokenException" in the generated parser.
- TokenMgrError - Error in tech.units.indriya.format
-
Token Manager Error.
- TokenMgrError() - Constructor for error tech.units.indriya.format.TokenMgrError
-
No arg constructor.
- TokenMgrError(boolean, int, int, String, char, int) - Constructor for error tech.units.indriya.format.TokenMgrError
-
Full Constructor.
- TokenMgrError(String) - Constructor for error tech.units.indriya.format.TokenMgrError
-
Constructor with message.
- TokenMgrError(String, int) - Constructor for error tech.units.indriya.format.TokenMgrError
-
Constructor with message and reason.
- toQuantity() - Method in class tech.units.indriya.quantity.time.TemporalQuantity
-
Converts the
TemporalQuantitytoQuantity - toQuantity() - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
-
Converts the
TimeUnitQuantitytoQuantity - toRationalConverter() - Method in class tech.units.indriya.function.PowerOfIntConverter
- toRationalString() - Method in class tech.units.indriya.function.RationalNumber
-
Returns a string representation of this
RationalNumber, using fractional notation, eg. - toRationalString(char) - Method in class tech.units.indriya.function.RationalNumber
-
Returns a string representation of this
RationalNumber, using fractional notation, eg. - toString() - Method in class tech.units.indriya.AbstractQuantity
-
Returns the
Stringrepresentation of this quantity. - toString() - Method in class tech.units.indriya.AbstractUnit
-
Returns the standard representation of this physics unit.
- toString() - Method in class tech.units.indriya.format.EBNFUnitFormat
- toString() - Method in class tech.units.indriya.format.LocalUnitFormat
- toString() - Method in class tech.units.indriya.format.NumberDelimiterQuantityFormat
- toString() - Method in class tech.units.indriya.format.SimpleQuantityFormat
- toString() - Method in class tech.units.indriya.format.SymbolMap
- toString() - Method in class tech.units.indriya.format.Token
-
Returns the image.
- toString() - Method in class tech.units.indriya.function.AbstractConverter
- toString() - Method in class tech.units.indriya.function.MixedRadix
- toString() - Method in class tech.units.indriya.function.QuantitySummaryStatistics
- toString() - Method in class tech.units.indriya.function.RationalNumber
- toString() - Method in class tech.units.indriya.quantity.DefaultQuantityFactory
- toString() - Method in class tech.units.indriya.quantity.MixedQuantity
- toString() - Method in class tech.units.indriya.quantity.QuantityRange
- toString() - Method in class tech.units.indriya.quantity.time.TemporalQuantity
- toString() - Method in class tech.units.indriya.quantity.time.TimedData
- toString() - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- toString() - Method in class tech.units.indriya.spi.AbstractServiceProvider
- toString() - Method in class tech.units.indriya.spi.DefaultServiceProvider
- toString() - Method in class tech.units.indriya.unit.UnitDimension
- toSystemUnit() - Method in class tech.units.indriya.AbstractUnit
-
Returns the unscaled
SIunit from which this unit is derived. - toSystemUnit() - Method in class tech.units.indriya.unit.AlternateUnit
- toSystemUnit() - Method in class tech.units.indriya.unit.AnnotatedUnit
- toSystemUnit() - Method in class tech.units.indriya.unit.BaseUnit
- toSystemUnit() - Method in class tech.units.indriya.unit.ProductUnit
- toSystemUnit() - Method in class tech.units.indriya.unit.TransformedUnit
- toTemporalSeconds(Quantity<Time>) - Static method in class tech.units.indriya.quantity.time.TimeQuantities
- toTimeUnitSeconds(Quantity<Time>) - Static method in class tech.units.indriya.quantity.time.TimeQuantities
- toUnit() - Method in class tech.units.indriya.quantity.time.TemporalQuantity
-
converts the
TemporalUnittoUnit - toUnit() - Method in class tech.units.indriya.quantity.time.TimeUnitQuantity
- TRAILING_UNIT - tech.units.indriya.function.MixedRadix.PrimaryUnitPick
- transform(UnitConverter) - Method in class tech.units.indriya.AbstractUnit
- transformationLiteral() - Method in class tech.units.indriya.function.AbstractConverter.Pair
- transformationLiteral() - Method in class tech.units.indriya.function.AbstractConverter
-
Non-API
- transformationLiteral() - Method in class tech.units.indriya.function.AddConverter
- transformationLiteral() - Method in class tech.units.indriya.function.ExpConverter
- transformationLiteral() - Method in class tech.units.indriya.function.LogConverter
- transformationLiteral() - Method in class tech.units.indriya.function.PowerOfIntConverter
- transformationLiteral() - Method in class tech.units.indriya.function.RationalConverter
- TransformedUnit<Q extends Quantity<Q>> - Class in tech.units.indriya.unit
-
This class represents the units derived from other units using converters.
- TransformedUnit(String, String, Unit<Q>, Unit<Q>, UnitConverter) - Constructor for class tech.units.indriya.unit.TransformedUnit
-
Creates a transformed unit from the specified parent and system unit. using a specific symbol and name.
- TransformedUnit(String, String, Unit<Q>, UnitConverter) - Constructor for class tech.units.indriya.unit.TransformedUnit
-
Creates a transformed unit from the specified parent unit.
- TransformedUnit(String, Unit<Q>, Unit<Q>, UnitConverter) - Constructor for class tech.units.indriya.unit.TransformedUnit
-
Creates a transformed unit from the specified parent and system unit. using a specific symbol.
- TransformedUnit(String, Unit<Q>, UnitConverter) - Constructor for class tech.units.indriya.unit.TransformedUnit
-
Creates a transformed unit from the specified parent unit.
- TransformedUnit(Unit<Q>, UnitConverter) - Constructor for class tech.units.indriya.unit.TransformedUnit
-
Creates a transformed unit from the specified system unit. using the parent as symbol
U
- UNIT_COMPOSITION_HANDLER - Static variable in class tech.units.indriya.function.AbstractConverter
-
Allows for plug in of a custom UnitCompositionHandler.
- UnitDimension - Class in tech.units.indriya.unit
-
This class represents a dimension of a unit of measurement.
- UnitDimension() - Constructor for class tech.units.indriya.unit.UnitDimension
-
Default Constructor (not visible).
- UnitNameProvider - Class in tech.units.indriya.spi
-
An abstract class for service providers that provide localized unit symbols and display names for the
unitclass. - UnitNameProvider() - Constructor for class tech.units.indriya.spi.UnitNameProvider
-
Sole constructor.
- units - Variable in class tech.units.indriya.AbstractSystemOfUnits
-
Holds the units.
- Units - Class in tech.units.indriya.unit
-
This class defines common units.
It is a representative subset of the SI system. - Units() - Constructor for class tech.units.indriya.unit.Units
-
Constructor may only be called by subclasses
- UnitStyle - Enum in tech.units.indriya.format
-
Defines the different variants of unit representation.
V
- valueOf(String) - Static method in enum tech.units.indriya.format.FormatBehavior
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum tech.units.indriya.format.SimpleUnitFormat.Flavor
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum tech.units.indriya.format.UnitStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum tech.units.indriya.function.MixedRadix.PrimaryUnitPick
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum tech.units.indriya.format.FormatBehavior
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum tech.units.indriya.format.SimpleUnitFormat.Flavor
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum tech.units.indriya.format.UnitStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum tech.units.indriya.function.MixedRadix.PrimaryUnitPick
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VOLT - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for electric potential difference, electromotive force (standard name
V).
W
- WATT - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for power, radiant, flux (standard name
W). - WEBER - Static variable in class tech.units.indriya.unit.Units
-
The SI unit for magnetic flux (standard name
Wb). - WEEK - Static variable in class tech.units.indriya.unit.Units
-
A unit of duration equal to 7
DAY(common namewk).
Y
- YEAR - Static variable in class tech.units.indriya.unit.Units
-
A time unit accepted for use with SI units (standard name
yr). - yieldingNormalForm() - Static method in interface tech.units.indriya.function.ConverterCompositionHandler
Z
- ZERO - Static variable in class tech.units.indriya.function.RationalNumber
All Classes All Packages