Enum Class UnicodeGeneralCategory
- All Implemented Interfaces:
Serializable, Comparable<UnicodeGeneralCategory>, Constable, Enumeration
@Generated("org.javagi.JavaGI")
public enum UnicodeGeneralCategory
extends Enum<UnicodeGeneralCategory>
implements Enumeration
Data type for the "General_Category" (gc) property from
the Unicode Character Database.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptioninvalid reference
Peinvalid reference
Pcinvalid reference
Ccinvalid reference
Scinvalid reference
Pdinvalid reference
Ndinvalid reference
Meinvalid reference
Pfinvalid reference
Cfinvalid reference
Piinvalid reference
Nlinvalid reference
Zlinvalid reference
Llinvalid reference
Sminvalid reference
Lminvalid reference
Skinvalid reference
Mninvalid reference
Psinvalid reference
Loinvalid reference
Noinvalid reference
Poinvalid reference
Soinvalid reference
Zpinvalid reference
Coinvalid reference
Zsinvalid reference
Mcinvalid reference
Csinvalid reference
Ltinvalid reference
Cninvalid reference
Lu -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable TypegetType()Get the GType of the UnicodeGeneralCategory class.intgetValue()Get the numeric value of this enumstatic UnicodeGeneralCategoryof(int value) Create a new UnicodeGeneralCategory for the provided valuestatic UnicodeGeneralCategoryof(MemorySegment address) Create a new UnicodeGeneralCategory for the value in the provided memory address.static UnicodeGeneralCategoryReturns the enum constant of this class with the specified name.static UnicodeGeneralCategory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTROL
invalid reference
Cc -
FORMAT
invalid reference
Cf -
UNASSIGNED
invalid reference
Cn -
PRIVATE_USE
invalid reference
Co -
SURROGATE
invalid reference
Cs -
LOWERCASE_LETTER
invalid reference
Ll -
MODIFIER_LETTER
invalid reference
Lm -
OTHER_LETTER
invalid reference
Lo -
TITLECASE_LETTER
invalid reference
Lt -
UPPERCASE_LETTER
invalid reference
Lu -
SPACING_MARK
invalid reference
Mc -
ENCLOSING_MARK
invalid reference
Me -
NON_SPACING_MARK
invalid reference
Mn -
DECIMAL_NUMBER
invalid reference
Nd -
LETTER_NUMBER
invalid reference
Nl -
OTHER_NUMBER
invalid reference
No -
CONNECT_PUNCTUATION
invalid reference
Pc -
DASH_PUNCTUATION
invalid reference
Pd -
CLOSE_PUNCTUATION
invalid reference
Pe -
FINAL_PUNCTUATION
invalid reference
Pf -
INITIAL_PUNCTUATION
invalid reference
Pi -
OTHER_PUNCTUATION
invalid reference
Po -
OPEN_PUNCTUATION
invalid reference
Ps -
CURRENCY_SYMBOL
invalid reference
Sc -
MODIFIER_SYMBOL
invalid reference
Sk -
MATH_SYMBOL
invalid reference
Sm -
OTHER_SYMBOL
invalid reference
So -
LINE_SEPARATOR
invalid reference
Zl -
PARAGRAPH_SEPARATOR
invalid reference
Zp -
SPACE_SEPARATOR
invalid reference
Zs
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
of
Create a new UnicodeGeneralCategory for the provided value- Parameters:
value- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValuein interfaceEnumeration- Returns:
- the enum value
-
of
Create a new UnicodeGeneralCategory for the value in the provided memory address.- Parameters:
address- the memory address holding a enum value- Returns:
- the enum for the value in the provided memory address
-
getType
Get the GType of the UnicodeGeneralCategory class.- Returns:
- the GType
-