Enum Class Prefix

java.lang.Object
java.lang.Enum<Prefix>
org.orekit.utils.units.Prefix
All Implemented Interfaces:
Serializable, Comparable<Prefix>, Constable

public enum Prefix extends Enum<Prefix>
Multiplicative prefixes.
Since:
11.0
Author:
Luc Maisonobe
  • Enum Constant Details

    • YOTTA

      public static final Prefix YOTTA
      Septillion.
    • ZETTA

      public static final Prefix ZETTA
      Sextillion.
    • EXA

      public static final Prefix EXA
      Quintillion.
    • PETA

      public static final Prefix PETA
      Quadrillion.
    • TERA

      public static final Prefix TERA
      Trillion.
    • GIGA

      public static final Prefix GIGA
      Billion.
    • MEGA

      public static final Prefix MEGA
      Million.
    • KILO

      public static final Prefix KILO
      Thousand.
    • HECTO

      public static final Prefix HECTO
      Hundred.
    • DECA

      public static final Prefix DECA
      Ten.
    • DECI

      public static final Prefix DECI
      Tenth.
    • CENTI

      public static final Prefix CENTI
      Hundredth.
    • MILLI

      public static final Prefix MILLI
      Thousandth.
    • MICRO

      public static final Prefix MICRO
      Millionth.

      The symbol used here is the standard SI one: µ (U+00B5, MICRO SIGN)

    • MICRO_ALTERNATE

      public static final Prefix MICRO_ALTERNATE
      Millionth.

      The symbol used here is an alternate one: μ (U+03BC, GREEK SMALL LETTER MU)

    • NANO

      public static final Prefix NANO
      Billionth.
    • PICO

      public static final Prefix PICO
      Trillionth.
    • FEMTO

      public static final Prefix FEMTO
      Quadrillionth.
    • ATTO

      public static final Prefix ATTO
      Quintillionth.
    • ZEPTO

      public static final Prefix ZEPTO
      Sextillionth.
    • YOCTO

      public static final Prefix YOCTO
      Septillionth.
  • Method Details

    • values

      public static Prefix[] 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

      public static Prefix valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getSymbol

      public String getSymbol()
      Get the prefix symbol.
      Returns:
      prefix symbol
    • getFactor

      public double getFactor()
      Get the prefix multiplication factor.
      Returns:
      prefix multiplication factor