Package com.ibm.icu.lang
Enum UScript.ScriptUsage
- All Implemented Interfaces:
Serializable
,Comparable<UScript.ScriptUsage>
,java.lang.constant.Constable
- Enclosing class:
UScript
Script usage constants.
See UAX #31 Unicode Identifier and Pattern Syntax.
http://www.unicode.org/reports/tr31/#Table_Candidate_Characters_for_Exclusion_from_Identifiers
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAspirational Use script.Candidate for Exclusion from Identifiers.Limited Use script.Not encoded in Unicode.Recommended script.Unknown script usage. -
Method Summary
Modifier and TypeMethodDescriptionstatic UScript.ScriptUsage
Returns the enum constant of this type with the specified name.static UScript.ScriptUsage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_ENCODED
Not encoded in Unicode. -
UNKNOWN
Unknown script usage. -
EXCLUDED
Candidate for Exclusion from Identifiers. -
LIMITED_USE
Limited Use script. -
ASPIRATIONAL
Aspirational Use script. -
RECOMMENDED
Recommended script.
-
-
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
-