For details see the method descriptions.
For lookup of property values by code point see class UCharacter.
| Modifier and Type | Field and Description |
|---|---|
| private static final CodePointMap[] | |
| private static final UnicodeSet[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static final UnicodeSet | Returns: the property as a setReturns a frozen UnicodeSet for a binary property. |
| public static final CodePointMap | Returns: the property as a mapReturns an immutable CodePointMap for an enumerated/catalog/int-valued property. |
| private static CodePointMap | |
| private static UnicodeSet |
| maps | back to summary |
|---|---|
| private static final CodePointMap[] maps | |
| sets | back to summary |
|---|---|
| private static final UnicodeSet[] sets | |
| CharacterProperties | back to summary |
|---|---|
| private CharacterProperties() | |
| getBinaryPropertySet | back to summary |
|---|---|
| public static final UnicodeSet getBinaryPropertySet(int property) Returns a frozen UnicodeSet for a binary property. Throws an exception if the property number is not one for a binary property. The returned set contains all code points for which the property is true.
| |
| getIntPropertyMap | back to summary |
|---|---|
| public static final CodePointMap getIntPropertyMap(int property) Returns an immutable CodePointMap for an enumerated/catalog/int-valued property. Throws an exception if the property number is not one for an "int property". The returned object maps all Unicode code points to their values for that property.
For documentation of the integer values see The actual type of the returned object differs between properties and may change over time.
| |
| makeMap | back to summary |
|---|---|
| private static CodePointMap makeMap(int property) | |
| makeSet | back to summary |
|---|---|
| private static UnicodeSet makeSet(int property) | |