CodePointMapData16 class final

An ICU4X Unicode Map Property object, capable of querying whether a code point (key) to obtain the Unicode property value, for a specific Unicode property.

For properties whose values fit into 16 bits.

See the Rust documentation for properties for more information.

See the Rust documentation for CodePointMapData for more information.

See the Rust documentation for CodePointMapDataBorrowed for more information.

Implemented types

Constructors

CodePointMapData16.script()
Create a map for the Script property, using compiled data.
factory
CodePointMapData16.scriptWithProvider(DataProvider provider)
Create a map for the Script property, using a particular data source.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getSetForValue(int value) CodePointSetData
Gets a CodePointSetData representing all entries in this map that map to the given value
iterRangesForValue(int value) CodePointRangeIterator
Produces an iterator over ranges of code points that map to value
iterRangesForValueComplemented(int value) CodePointRangeIterator
Produces an iterator over ranges of code points that do not map to value
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](Rune cp) int
Gets the value for a code point.