Package com.ibm.icu.lang
Enum UCharacter.IdentifierType
- java.lang.Object
-
- java.lang.Enum<UCharacter.IdentifierType>
-
- com.ibm.icu.lang.UCharacter.IdentifierType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UCharacter.IdentifierType>
- Enclosing class:
- UCharacter
public static enum UCharacter.IdentifierType extends java.lang.Enum<UCharacter.IdentifierType>
Identifier Type constants. See https://www.unicode.org/reports/tr39/#Identifier_Status_and_Type.- See Also:
UProperty.IDENTIFIER_TYPE
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_IGNORABLE
DEPRECATED
EXCLUSION
INCLUSION
LIMITED_USE
NOT_CHARACTER
NOT_NFKC
NOT_XID
OBSOLETE
RECOMMENDED
TECHNICAL
UNCOMMON_USE
-
Constructor Summary
Constructors Modifier Constructor Description private
IdentifierType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UCharacter.IdentifierType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UCharacter.IdentifierType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_CHARACTER
public static final UCharacter.IdentifierType NOT_CHARACTER
-
DEPRECATED
public static final UCharacter.IdentifierType DEPRECATED
-
DEFAULT_IGNORABLE
public static final UCharacter.IdentifierType DEFAULT_IGNORABLE
-
NOT_NFKC
public static final UCharacter.IdentifierType NOT_NFKC
-
NOT_XID
public static final UCharacter.IdentifierType NOT_XID
-
EXCLUSION
public static final UCharacter.IdentifierType EXCLUSION
-
OBSOLETE
public static final UCharacter.IdentifierType OBSOLETE
-
TECHNICAL
public static final UCharacter.IdentifierType TECHNICAL
-
UNCOMMON_USE
public static final UCharacter.IdentifierType UNCOMMON_USE
-
LIMITED_USE
public static final UCharacter.IdentifierType LIMITED_USE
-
INCLUSION
public static final UCharacter.IdentifierType INCLUSION
-
RECOMMENDED
public static final UCharacter.IdentifierType RECOMMENDED
-
-
Method Detail
-
values
public static UCharacter.IdentifierType[] 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 (UCharacter.IdentifierType c : UCharacter.IdentifierType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UCharacter.IdentifierType 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
-
-