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 SystemUnit
    Modifier and Type
    Method
    Description
    private 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 by Units static class initializer for registering SI base and derived units.
    SystemUnit.DimToUnit.apply(UnitDimension dim)
    Returns the unit associated to the given dimension, or null 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>
    Units.get(Class<Q> type)
    Returns the system unit for the given quantity, or null if none.
    (package private) static SystemUnit<?>
    Units.get(javax.measure.Dimension dim)
    Returns the system unit for the given dimension, or null 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 by Units static class initializer for registering SI base and derived units.
    Methods in org.apache.sis.measure that return types with arguments of type SystemUnit
    Modifier and Type
    Method
    Description
    (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, or null if the system unit is a base unit (not a product of existing units).
    ConventionalUnit.getBaseUnits()
    Returns the base units and their exponent whose product is the system unit, or null if the system unit is a base unit (not a product of existing units).
    SystemUnit.getBaseUnits()
    Returns the base units and their exponent whose product is this unit, or null if this unit is a base unit (not a product of existing units).
    SystemUnit.DimToUnit.getTargetClass()
    Returns the type of key values in the map to be returned by getBaseUnits().
    Methods in org.apache.sis.measure with parameters of type SystemUnit
    Modifier and Type
    Method
    Description
    private static int
    UnitRegistry.filter(int existed, SystemUnit<?> unit, String s)
    Clears the existed 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 by Units 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.