Uses of Class
org.apache.sis.measure.UnitDimension
Packages that use UnitDimension
Package
Description
Units of measurements, values related to measurement (like angles and ranges) and their formatters.
-
Uses of UnitDimension in org.apache.sis.measure
Fields in org.apache.sis.measure declared as UnitDimensionModifier and TypeFieldDescription(package private) final UnitDimension
SystemUnit.dimension
The dimension of this unit of measurement.(package private) static final UnitDimension
UnitDimension.NONE
Pseudo-dimension for dimensionless units.Fields in org.apache.sis.measure with type parameters of type UnitDimensionModifier and TypeFieldDescription(package private) final Map
<UnitDimension, Fraction> UnitDimension.components
The product of base dimensions that make this dimension.Methods in org.apache.sis.measure that return UnitDimensionModifier and TypeMethodDescriptionprivate UnitDimension
UnitDimension.combine
(javax.measure.Dimension other, boolean divide) Returns the product or the quotient of this dimension with the specified one.private static UnitDimension
UnitDimension.create
(Map<UnitDimension, Fraction> components) Creates a new derived dimension from the given product of base dimensions with their power.UnitDimension.divide
(javax.measure.Dimension divisor) Returns the quotient of this dimension with the one specified.UnitDimension.multiply
(javax.measure.Dimension multiplicand) Returns the product of this dimension with the one specified.UnitDimension.pow
(int n) Returns this dimension raised to an exponent.private UnitDimension
Returns this dimension raised to an exponent.UnitDimension.root
(int n) Returns the given root of this dimension.Methods in org.apache.sis.measure that return types with arguments of type UnitDimensionModifier and TypeMethodDescriptionUnitDimension.getBaseDimensions()
Returns the (fundamental) base dimensions and their exponent whose product is this dimension, or null if this dimension is a base dimension.SystemUnit.DimToUnit.getSourceClass()
Returns the type of key values in the map returned bygetBaseDimensions()
.Methods in org.apache.sis.measure with parameters of type UnitDimensionModifier and TypeMethodDescriptionprivate static <Q extends javax.measure.Quantity<Q>>
SystemUnit<Q> Units.add
(Class<Q> quantity, ScalarFactory<Q> factory, UnitDimension dimension, String symbol, byte scope, short epsg) Invoked byUnits
static class initializer for registering SI base and derived units.SystemUnit
<?> SystemUnit.DimToUnit.apply
(UnitDimension dim) Returns the unit associated to the given dimension, ornull
if none.private SystemUnit
<?> SystemUnit.create
(UnitDimension newDimension, char operation, javax.measure.Unit<?> other) Returns a unit of the given dimension with default name and symbol.(package private) static void
UnitRegistry.init
(Map<UnitDimension, Fraction> components, UnitDimension dim) Adds the givencomponents
,dim
pair in the map of hard-coded values.Method parameters in org.apache.sis.measure with type arguments of type UnitDimensionModifier and TypeMethodDescriptionprivate static UnitDimension
UnitDimension.create
(Map<UnitDimension, Fraction> components) Creates a new derived dimension from the given product of base dimensions with their power.(package private) static void
UnitRegistry.init
(Map<UnitDimension, Fraction> components, UnitDimension dim) Adds the givencomponents
,dim
pair in the map of hard-coded values.Constructors in org.apache.sis.measure with parameters of type UnitDimensionModifierConstructorDescription(package private)
SystemUnit
(Class<Q> quantity, UnitDimension dimension, String symbol, byte scope, short epsg, ScalarFactory<Q> factory) Creates a new unit having the given symbol and EPSG code.Constructor parameters in org.apache.sis.measure with type arguments of type UnitDimensionModifierConstructorDescriptionprivate
UnitDimension
(Map<UnitDimension, Fraction> components) Creates a new derived dimension.