Package com.ibm.icu.impl.units
Enum MeasureUnitImpl.PowerPart
- All Implemented Interfaces:
Serializable
,Comparable<MeasureUnitImpl.PowerPart>
,java.lang.constant.Constable
- Enclosing class:
MeasureUnitImpl
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getPowerFromTrieIndex
(int trieIndex) int
int
getValue()
static MeasureUnitImpl.PowerPart
Returns the enum constant of this type with the specified name.static MeasureUnitImpl.PowerPart[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
P2
-
P3
-
P4
-
P5
-
P6
-
P7
-
P8
-
P9
-
P10
-
P11
-
P12
-
P13
-
P14
-
P15
-
-
Field Details
-
power
private final int power
-
-
Constructor Details
-
PowerPart
private PowerPart(int power)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPowerFromTrieIndex
public static int getPowerFromTrieIndex(int trieIndex) -
getTrieIndex
public int getTrieIndex() -
getValue
public int getValue()
-