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

Packages that use SIPrefix 
Package Description
org.djunits.unit
Units for version 4 of DJUNITS.
org.djunits.unit.si
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
    U 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.
    U Unit.deriveSI​(SIPrefix siPrefix, double siPrefixPower)
    Create a scaled version of this unit with the same unit system but another SI prefix and scale.
    U 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.
    U 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 Map<String,​SIPrefix> SIPrefixes.KILO_PREFIXES
    The SI prefixes and their values for the "KILO" settings.
    static Map<String,​SIPrefix> SIPrefixes.PER_UNIT_PREFIXES
    The SI prefixes and their values for the "PER_UNIT" settings.
    static Map<String,​SIPrefix> SIPrefixes.UNIT_POS_PREFIXES
    The larger than 1 SI prefixes and their values for the "UNIT_POS" settings.
    static 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").