Package org.orekit.utils.units
Enum Class Prefix
- All Implemented Interfaces:
Serializable,Comparable<Prefix>,Constable
Multiplicative prefixes.
- Since:
- 11.0
- Author:
- Luc Maisonobe
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionQuintillionth.Hundredth.Ten.Tenth.Quintillion.Quadrillionth.Billion.Hundred.Thousand.Million.Millionth.Millionth.Thousandth.Billionth.Quadrillion.Trillionth.Trillion.Septillionth.Septillion.Sextillionth.Sextillion. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the prefix multiplication factor.Get the prefix symbol.static PrefixReturns the enum constant of this class with the specified name.static Prefix[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
YOTTA
Septillion. -
ZETTA
Sextillion. -
EXA
Quintillion. -
PETA
Quadrillion. -
TERA
Trillion. -
GIGA
Billion. -
MEGA
Million. -
KILO
Thousand. -
HECTO
Hundred. -
DECA
Ten. -
DECI
Tenth. -
CENTI
Hundredth. -
MILLI
Thousandth. -
MICRO
Millionth.The symbol used here is the standard SI one: µ (U+00B5, MICRO SIGN)
-
MICRO_ALTERNATE
Millionth.The symbol used here is an alternate one: μ (U+03BC, GREEK SMALL LETTER MU)
-
NANO
Billionth. -
PICO
Trillionth. -
FEMTO
Quadrillionth. -
ATTO
Quintillionth. -
ZEPTO
Sextillionth. -
YOCTO
Septillionth.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getSymbol
Get the prefix symbol.- Returns:
- prefix symbol
-
getFactor
public double getFactor()Get the prefix multiplication factor.- Returns:
- prefix multiplication factor
-