Uses of Class
tech.units.indriya.AbstractConverter
-
Packages that use AbstractConverter Package Description tech.units.indriya This package provides a Java SE 8 implementation of the Units of Measurement API.tech.units.indriya.function This package provides functional interfaces.tech.units.indriya.internal.simplify tech.units.indriya.spi -
-
Uses of AbstractConverter in tech.units.indriya
Subclasses of AbstractConverter in tech.units.indriya Modifier and Type Class Description private static class
AbstractConverter.Identity
This class represents the identity converter (singleton).static class
AbstractConverter.Pair
This class represents converters made up of two or more separate converters (in matrix notation[pair] = [left] x [right]
).Fields in tech.units.indriya declared as AbstractConverter Modifier and Type Field Description static AbstractConverter
AbstractConverter. IDENTITY
Holds identity converter.Methods in tech.units.indriya that return AbstractConverter Modifier and Type Method Description AbstractConverter
AbstractConverter. inverse()
protected AbstractConverter
AbstractConverter.Identity. inverseWhenNotIdentity()
protected abstract AbstractConverter
AbstractConverter. inverseWhenNotIdentity()
Non-APIprotected AbstractConverter
AbstractConverter.Identity. simpleCompose(AbstractConverter that)
protected AbstractConverter
AbstractConverter. simpleCompose(AbstractConverter that)
Non-API Guarded byisSimpleCompositionWith(AbstractConverter)
Methods in tech.units.indriya with parameters of type AbstractConverter Modifier and Type Method Description protected boolean
AbstractConverter.Identity. isSimpleCompositionWith(AbstractConverter that)
protected abstract boolean
AbstractConverter. isSimpleCompositionWith(AbstractConverter that)
Non-API Guard forsimpleCompose(AbstractConverter)
protected boolean
AbstractConverter.Pair. isSimpleCompositionWith(AbstractConverter that)
protected AbstractConverter
AbstractConverter.Identity. simpleCompose(AbstractConverter that)
protected AbstractConverter
AbstractConverter. simpleCompose(AbstractConverter that)
Non-API Guarded byisSimpleCompositionWith(AbstractConverter)
-
Uses of AbstractConverter in tech.units.indriya.function
Subclasses of AbstractConverter in tech.units.indriya.function Modifier and Type Class Description class
AddConverter
This class represents a converter adding a constant offset to numeric values (double
based).class
ExpConverter
This class represents a exponential converter of limited precision.class
LogConverter
This class represents a logarithmic converter of limited precision.class
MultiplyConverter
This class represents a converter multiplying numeric values by a constant scaling factor (double
based).class
PowersOfIntConverter
UnitConverter for numbers in base^exponent representation.class
PowersOfPiConverter
This class represents a converter multiplying numeric values by a factor of Pi to the power of an integer exponent (π^exponent).class
RationalConverter
This class represents a converter multiplying numeric values by an exact scaling factor (represented as the quotient of twoBigInteger
numbers). -
Uses of AbstractConverter in tech.units.indriya.internal.simplify
Fields in tech.units.indriya.internal.simplify declared as AbstractConverter Modifier and Type Field Description private AbstractConverter[]
SimplificationWorker. arrayOfConverters
Fields in tech.units.indriya.internal.simplify with type parameters of type AbstractConverter Modifier and Type Field Description private java.util.function.BinaryOperator<AbstractConverter>
SimplificationWorker. simpleComposeAction
private java.util.function.BiPredicate<AbstractConverter,AbstractConverter>
SimplificationWorker. simpleComposeTest
private java.util.function.BiPredicate<AbstractConverter,AbstractConverter>
SimplificationWorker. simpleComposeTest
Methods in tech.units.indriya.internal.simplify that return AbstractConverter Modifier and Type Method Description static AbstractConverter
Simplifier. compose(AbstractConverter a, AbstractConverter b, java.util.function.BiPredicate<AbstractConverter,AbstractConverter> simpleComposeTest, java.util.function.BinaryOperator<AbstractConverter> simpleComposeAction)
private static AbstractConverter
SimplificationWorker. sequenceToConverter(AbstractConverter[] sequence)
AbstractConverter
SimplificationWorker. simplify(java.util.List<? extends javax.measure.UnitConverter> conversionSteps)
Description of a brute-force approach:Methods in tech.units.indriya.internal.simplify with parameters of type AbstractConverter Modifier and Type Method Description static AbstractConverter
Simplifier. compose(AbstractConverter a, AbstractConverter b, java.util.function.BiPredicate<AbstractConverter,AbstractConverter> simpleComposeTest, java.util.function.BinaryOperator<AbstractConverter> simpleComposeAction)
(package private) static boolean
Simplifier. isNormalFormOrderWhenCommutative(AbstractConverter a, AbstractConverter b)
(package private) static boolean
Simplifier. isNormalFormOrderWhenIdentity(AbstractConverter a, AbstractConverter b)
private static AbstractConverter
SimplificationWorker. sequenceToConverter(AbstractConverter[] sequence)
private static void
SimplificationWorker. sortToNormalFormOrder(AbstractConverter[] arrayOfConverters)
Method parameters in tech.units.indriya.internal.simplify with type arguments of type AbstractConverter Modifier and Type Method Description static AbstractConverter
Simplifier. compose(AbstractConverter a, AbstractConverter b, java.util.function.BiPredicate<AbstractConverter,AbstractConverter> simpleComposeTest, java.util.function.BinaryOperator<AbstractConverter> simpleComposeAction)
static AbstractConverter
Simplifier. compose(AbstractConverter a, AbstractConverter b, java.util.function.BiPredicate<AbstractConverter,AbstractConverter> simpleComposeTest, java.util.function.BinaryOperator<AbstractConverter> simpleComposeAction)
static AbstractConverter
Simplifier. compose(AbstractConverter a, AbstractConverter b, java.util.function.BiPredicate<AbstractConverter,AbstractConverter> simpleComposeTest, java.util.function.BinaryOperator<AbstractConverter> simpleComposeAction)
Constructor parameters in tech.units.indriya.internal.simplify with type arguments of type AbstractConverter Constructor Description SimplificationWorker(java.util.function.BiPredicate<AbstractConverter,AbstractConverter> simpleComposeTest, java.util.function.BinaryOperator<AbstractConverter> simpleComposeAction)
SimplificationWorker(java.util.function.BiPredicate<AbstractConverter,AbstractConverter> simpleComposeTest, java.util.function.BinaryOperator<AbstractConverter> simpleComposeAction)
SimplificationWorker(java.util.function.BiPredicate<AbstractConverter,AbstractConverter> simpleComposeTest, java.util.function.BinaryOperator<AbstractConverter> simpleComposeAction)
-
Uses of AbstractConverter in tech.units.indriya.spi
Methods in tech.units.indriya.spi that return AbstractConverter Modifier and Type Method Description AbstractConverter
DimensionalModel. getDimensionalTransform(javax.measure.Dimension dimension)
Returns the dimensional transform of the specified dimension.
-