Uses of Class
org.djunits.unit.si.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 UUnit. 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.UUnit. deriveSI(SIPrefix siPrefix, double siPrefixPower)Create a scaled version of this unit with the same unit system but another SI prefix and scale.UUnit. 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.UUnit. 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_PREFIXESThe SI prefixes and their values for the "KILO" settings.static Map<String,SIPrefix>SIPrefixes. PER_UNIT_PREFIXESThe SI prefixes and their values for the "PER_UNIT" settings.static Map<String,SIPrefix>SIPrefixes. UNIT_POS_PREFIXESThe larger than 1 SI prefixes and their values for the "UNIT_POS" settings.static Map<String,SIPrefix>SIPrefixes. UNIT_PREFIXESThe SI prefixes and their values for the "UNIT" settings.Methods in org.djunits.unit.si that return SIPrefix Modifier and Type Method Description static SIPrefixSIPrefixes. 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 SIPrefixSIPrefixes. getPerUnit(String prefixKey)Look up and return the prefix information for the given prefix key (e.g., "/n" for "per nano").static SIPrefixSIPrefixes. getUnit(String prefixKey)Look up and return the prefix information for the given prefix key (e.g., "G" for "giga").