Uses of Class
org.apache.sis.measure.SystemUnit
Packages that use SystemUnit
Package
Description
Units of measurements, values related to measurement (like angles and ranges) and their formatters.
-
Uses of SystemUnit in org.apache.sis.measure
Methods in org.apache.sis.measure that return SystemUnitModifier 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 <Q extends javax.measure.Quantity<Q>>
SystemUnit<Q> Returns the system unit for the given quantity, ornull
if none.(package private) static SystemUnit
<?> Units.get
(javax.measure.Dimension dim) Returns the system unit for the given dimension, ornull
if none.abstract SystemUnit
<Q> AbstractUnit.getSystemUnit()
Returns the unscaled system unit from which this unit is derived.ConventionalUnit.getSystemUnit()
Returns the unscaled system unit from which this unit is derived.SystemUnit.getSystemUnit()
Returns the unscaled system unit from which this unit is derived.(package private) static <Q extends javax.measure.Quantity<Q>>
SystemUnit<Q> UnitRegistry.init
(SystemUnit<Q> unit) Invoked byUnits
static class initializer for registering SI base and derived units.Methods in org.apache.sis.measure that return types with arguments of type SystemUnitModifier and TypeMethodDescription(package private) abstract Map
<SystemUnit<?>, Fraction> AbstractUnit.getBaseSystemUnits()
Returns the base units used by Apache SIS implementations.(package private) final Map
<SystemUnit<?>, Fraction> ConventionalUnit.getBaseSystemUnits()
Returns the base units used by Apache SIS implementations.(package private) final Map
<SystemUnit<?>, Fraction> SystemUnit.getBaseSystemUnits()
Returns the base units used by Apache SIS implementations.abstract Map
<SystemUnit<?>, Integer> AbstractUnit.getBaseUnits()
Returns the base units and their exponent whose product is the system unit, ornull
if the system unit is a base unit (not a product of existing units).Map
<SystemUnit<?>, Integer> ConventionalUnit.getBaseUnits()
Returns the base units and their exponent whose product is the system unit, ornull
if the system unit is a base unit (not a product of existing units).Map
<SystemUnit<?>, Integer> SystemUnit.getBaseUnits()
Returns the base units and their exponent whose product is this unit, ornull
if this unit is a base unit (not a product of existing units).Class
<SystemUnit<?>> SystemUnit.DimToUnit.getTargetClass()
Returns the type of key values in the map to be returned bygetBaseUnits()
.Methods in org.apache.sis.measure with parameters of type SystemUnitModifier and TypeMethodDescriptionprivate static int
UnitRegistry.filter
(int existed, SystemUnit<?> unit, String s) Clears theexisted
bits for the cases where we allow dimension or quantity type collisions.(package private) static <Q extends javax.measure.Quantity<Q>>
SystemUnit<Q> UnitRegistry.init
(SystemUnit<Q> unit) Invoked byUnits
static class initializer for registering SI base and derived units.(package private) static <Q extends javax.measure.Quantity<Q>>
ConventionalUnit<Q> Prefixes.pseudoSystemUnit
(SystemUnit<Q> unit) If the given system unit should be replaced by pseudo-unit for the purpose of formatting, returns that pseudo-unit.