Package com.ibm.icu.impl.locale
Enum KeyTypeData.SpecialType
- java.lang.Object
-
- java.lang.Enum<KeyTypeData.SpecialType>
-
- com.ibm.icu.impl.locale.KeyTypeData.SpecialType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<KeyTypeData.SpecialType>
- Enclosing class:
- KeyTypeData
private static enum KeyTypeData.SpecialType extends java.lang.Enum<KeyTypeData.SpecialType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CODEPOINTS
PRIVATE_USE
REORDER_CODE
RG_KEY_VALUE
SCRIPT_CODE
SUBDIVISION_CODE
-
Field Summary
Fields Modifier and Type Field Description (package private) KeyTypeData.SpecialTypeHandler
handler
-
Constructor Summary
Constructors Modifier Constructor Description private
SpecialType(KeyTypeData.SpecialTypeHandler handler)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyTypeData.SpecialType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static KeyTypeData.SpecialType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CODEPOINTS
public static final KeyTypeData.SpecialType CODEPOINTS
-
REORDER_CODE
public static final KeyTypeData.SpecialType REORDER_CODE
-
RG_KEY_VALUE
public static final KeyTypeData.SpecialType RG_KEY_VALUE
-
SCRIPT_CODE
public static final KeyTypeData.SpecialType SCRIPT_CODE
-
SUBDIVISION_CODE
public static final KeyTypeData.SpecialType SUBDIVISION_CODE
-
PRIVATE_USE
public static final KeyTypeData.SpecialType PRIVATE_USE
-
-
Field Detail
-
handler
KeyTypeData.SpecialTypeHandler handler
-
-
Constructor Detail
-
SpecialType
private SpecialType(KeyTypeData.SpecialTypeHandler handler)
-
-
Method Detail
-
values
public static KeyTypeData.SpecialType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeyTypeData.SpecialType c : KeyTypeData.SpecialType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyTypeData.SpecialType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-