public static enum MeasureUnit.MeasurePrefix extends Enum<MeasureUnit.MeasurePrefix>
Enum Constant and 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.
|
QUECTO
SI prefix: quecto, 10^-30.
|
QUETTA
SI prefix: quetta, 10^30.
|
RONNA
SI prefix: ronna, 10^27.
|
RONTO
SI prefix: ronto, 10^-27.
|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
getBase()
Returns the base of the prefix.
|
String |
getIdentifier()
Deprecated.
This API is ICU internal only.
|
int |
getPower()
Returns the power of the prefix.
|
static MeasureUnit.MeasurePrefix |
valueOf(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.
|
public static final MeasureUnit.MeasurePrefix QUETTA
public static final MeasureUnit.MeasurePrefix RONNA
public static final MeasureUnit.MeasurePrefix YOTTA
public static final MeasureUnit.MeasurePrefix ZETTA
public static final MeasureUnit.MeasurePrefix EXA
public static final MeasureUnit.MeasurePrefix PETA
public static final MeasureUnit.MeasurePrefix TERA
public static final MeasureUnit.MeasurePrefix GIGA
public static final MeasureUnit.MeasurePrefix MEGA
public static final MeasureUnit.MeasurePrefix KILO
public static final MeasureUnit.MeasurePrefix HECTO
public static final MeasureUnit.MeasurePrefix DEKA
public static final MeasureUnit.MeasurePrefix ONE
public static final MeasureUnit.MeasurePrefix DECI
public static final MeasureUnit.MeasurePrefix CENTI
public static final MeasureUnit.MeasurePrefix MILLI
public static final MeasureUnit.MeasurePrefix MICRO
public static final MeasureUnit.MeasurePrefix NANO
public static final MeasureUnit.MeasurePrefix PICO
public static final MeasureUnit.MeasurePrefix FEMTO
public static final MeasureUnit.MeasurePrefix ATTO
public static final MeasureUnit.MeasurePrefix ZEPTO
public static final MeasureUnit.MeasurePrefix YOCTO
public static final MeasureUnit.MeasurePrefix RONTO
public static final MeasureUnit.MeasurePrefix QUECTO
public static final MeasureUnit.MeasurePrefix KIBI
public static final MeasureUnit.MeasurePrefix MEBI
public static final MeasureUnit.MeasurePrefix GIBI
public static final MeasureUnit.MeasurePrefix TEBI
public static final MeasureUnit.MeasurePrefix PEBI
public static final MeasureUnit.MeasurePrefix EXBI
public static final MeasureUnit.MeasurePrefix ZEBI
public static final MeasureUnit.MeasurePrefix YOBI
public static MeasureUnit.MeasurePrefix[] values()
for (MeasureUnit.MeasurePrefix c : MeasureUnit.MeasurePrefix.values()) System.out.println(c);
public static MeasureUnit.MeasurePrefix valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public String getIdentifier()
public int getBase()
public int getPower()
Copyright © 2016 Unicode, Inc. and others.