Share via


UnicodeFilter.MatchesIndexValue(Int32) Method

Definition

Returns true if this matcher will match a character c, where c & 0xFF == v, at offset, in the forward direction (with limit > offset).

[Android.Runtime.Register("matchesIndexValue", "(I)Z", "GetMatchesIndexValue_IHandler", ApiSince=24)]
public abstract bool MatchesIndexValue (int v);
[<Android.Runtime.Register("matchesIndexValue", "(I)Z", "GetMatchesIndexValue_IHandler", ApiSince=24)>]
abstract member MatchesIndexValue : int -> bool

Parameters

v
Int32

Returns

Implements

Attributes

Remarks

Returns true if this matcher will match a character c, where c &amp; 0xFF == v, at offset, in the forward direction (with limit &gt; offset). This is used by RuleBasedTransliterator for indexing.

Note: This API uses an int even though the value will be restricted to 8 bits in order to avoid complications with signedness (bytes convert to ints in the range -128..127).

Java documentation for android.icu.text.UnicodeMatcher.matchesIndexValue(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to