Uses of Class
org.djunits.unit.si.SIPrefix

Packages that use SIPrefix
Package
Description
Units for version 4 of DJUNITS.
The org.djunits.unit.si package contains classes that can work with and manipulate SI units and SI dimensions.
  • Uses of SIPrefix in org.djunits.unit

    Methods in org.djunits.unit with parameters of type SIPrefix
    Modifier and Type
    Method
    Description
    Unit.derivePerSI(SIPrefix siPrefix, double siPrefixPower, boolean automaticallyGenerated)
    Create a scaled version of this unit with the same unit system but another SI prefix and scale.
    Unit.deriveSI(SIPrefix siPrefix, double siPrefixPower)
    Create a scaled version of this unit with the same unit system but another SI prefix and scale.
    Unit.deriveSI(SIPrefix siPrefix, double siPrefixPower, boolean automaticallyGenerated)
    Create a scaled version of this unit with the same unit system but another SI prefix and scale.
    Unit.deriveSIKilo(SIPrefix siPrefix, double siPrefixPower, boolean automaticallyGenerated)
    Create a scaled version of this unit with the same unit system but another SI prefix and scale, where the "k" and "kilo" abbreviations at the start will be replaced by the new information from the SIPrefix.
  • Uses of SIPrefix in org.djunits.unit.si

    Fields in org.djunits.unit.si with type parameters of type SIPrefix
    Modifier and Type
    Field
    Description
    static final Map<Integer,SIPrefix>
    SIPrefixes.FACTORS
    The map that translates an SI prefix power to the SI Prefix.
    static final Map<String,SIPrefix>
    SIPrefixes.KILO_PREFIXES
    The SI prefixes and their values for the "KILO" settings.
    static final Map<String,SIPrefix>
    The SI prefixes and their values for the "PER_UNIT" settings.
    static final Map<String,SIPrefix>
    The larger than 1 SI prefixes and their values for the "UNIT_POS" settings.
    static final Map<String,SIPrefix>
    SIPrefixes.UNIT_PREFIXES
    The SI prefixes and their values for the "UNIT" settings.
    Methods in org.djunits.unit.si that return SIPrefix
    Modifier and Type
    Method
    Description
    static SIPrefix
    SIPrefixes.getKiloUnit(String prefixKey)
    Return the prefix information for the given prefix key (e.g., "G" for "giga"), with an offset of a factor 1000 for units that have "kilo" as the default.
    static SIPrefix
    SIPrefixes.getPerUnit(String prefixKey)
    Look up and return the prefix information for the given prefix key (e.g., "/n" for "per nano").
    static SIPrefix
    SIPrefixes.getUnit(String prefixKey)
    Look up and return the prefix information for the given prefix key (e.g., "G" for "giga").