Enum MeasureUnit.MeasurePrefix

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ATTO
      SI prefix: atto, 10^-18.
      CENTI
      SI prefix: centi, 10^-2.
      DECI
      SI prefix: deci, 10^-1.
      DEKA
      SI prefix: deka, 10^1.
      EXA
      SI prefix: exa, 10^18.
      EXBI
      IEC binary prefix: exbi, 1024^6.
      FEMTO
      SI prefix: femto, 10^-15.
      GIBI
      IEC binary prefix: gibi, 1024^3.
      GIGA
      SI prefix: giga, 10^9.
      HECTO
      SI prefix: hecto, 10^2.
      KIBI
      IEC binary prefix: kibi, 1024^1.
      KILO
      SI prefix: kilo, 10^3.
      MEBI
      IEC binary prefix: mebi, 1024^2.
      MEGA
      SI prefix: mega, 10^6.
      MICRO
      SI prefix: micro, 10^-6.
      MILLI
      SI prefix: milli, 10^-3.
      NANO
      SI prefix: nano, 10^-9.
      ONE
      The absence of an SI prefix.
      PEBI
      IEC binary prefix: pebi, 1024^5.
      PETA
      SI prefix: peta, 10^15.
      PICO
      SI prefix: pico, 10^-12.
      TEBI
      IEC binary prefix: tebi, 1024^4.
      TERA
      SI prefix: tera, 10^12.
      YOBI
      IEC binary prefix: yobi, 1024^8.
      YOCTO
      SI prefix: yocto, 10^-24.
      YOTTA
      SI prefix: yotta, 10^24.
      ZEBI
      IEC binary prefix: zebi, 1024^7.
      ZEPTO
      SI prefix: zepto, 10^-21.
      ZETTA
      SI prefix: zetta, 10^21.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      int getBase()
      Returns the base of the prefix.
      java.lang.String getIdentifier()
      Deprecated.
      This API is ICU internal only.
      int getPower()
      Returns the power of the prefix.
      static MeasureUnit.MeasurePrefix valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static MeasureUnit.MeasurePrefix[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait