public final class CharacterProperties extends Object
For details see the method descriptions.
For lookup of property values by code point see class UCharacter
.
Modifier and Type | Method and Description |
---|---|
static UnicodeSet |
getBinaryPropertySet(int property)
Returns a frozen UnicodeSet for a binary property.
|
static CodePointMap |
getIntPropertyMap(int property)
Returns an immutable CodePointMap for an enumerated/catalog/int-valued property.
|
public static final UnicodeSet getBinaryPropertySet(int property)
The returned set contains all code points for which the property is true.
property
- UProperty.BINARY_START
..UProperty.BINARY_LIMIT
-1UProperty
,
UCharacter.hasBinaryProperty(int, int)
public static final CodePointMap getIntPropertyMap(int property)
The returned object maps all Unicode code points to their values for that property.
For documentation of the integer values see UCharacter.getIntPropertyValue(int, int)
.
The actual type of the returned object differs between properties and may change over time.
property
- UProperty.INT_START
..UProperty.INT_LIMIT
-1UProperty
,
UCharacter.getIntPropertyValue(int, int)
Copyright © 2016 Unicode, Inc. and others.