Enum MeasureUnit.MeasurePrefix

java.lang.Object
java.lang.Enum<MeasureUnit.MeasurePrefix>
com.ibm.icu.util.MeasureUnit.MeasurePrefix
All Implemented Interfaces:
Serializable, Comparable<MeasureUnit.MeasurePrefix>, java.lang.constant.Constable
Enclosing class:
MeasureUnit

public static enum MeasureUnit.MeasurePrefix extends Enum<MeasureUnit.MeasurePrefix>
Enumeration for SI and binary prefixes, e.g. "kilo-", "nano-", "mebi-".
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    SI prefix: atto, 10^-18.
    SI prefix: centi, 10^-2.
    SI prefix: deci, 10^-1.
    SI prefix: deka, 10^1.
    SI prefix: exa, 10^18.
    IEC binary prefix: exbi, 1024^6.
    SI prefix: femto, 10^-15.
    IEC binary prefix: gibi, 1024^3.
    SI prefix: giga, 10^9.
    SI prefix: hecto, 10^2.
    IEC binary prefix: kibi, 1024^1.
    SI prefix: kilo, 10^3.
    IEC binary prefix: mebi, 1024^2.
    SI prefix: mega, 10^6.
    SI prefix: micro, 10^-6.
    SI prefix: milli, 10^-3.
    SI prefix: nano, 10^-9.
    The absence of an SI prefix.
    IEC binary prefix: pebi, 1024^5.
    SI prefix: peta, 10^15.
    SI prefix: pico, 10^-12.
    SI prefix: quecto, 10^-30.
    SI prefix: quetta, 10^30.
    SI prefix: ronna, 10^27.
    SI prefix: ronto, 10^-27.
    IEC binary prefix: tebi, 1024^4.
    SI prefix: tera, 10^12.
    IEC binary prefix: yobi, 1024^8.
    SI prefix: yocto, 10^-24.
    SI prefix: yotta, 10^24.
    IEC binary prefix: zebi, 1024^7.
    SI prefix: zepto, 10^-21.
    SI prefix: zetta, 10^21.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
     
    private final String
     
    private final int
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    MeasurePrefix(int power, String identifier, int base)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the base of the prefix.
    Deprecated.
    This API is ICU internal only.
    int
    Returns the power of the prefix.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait