RuleBasedCollator.AlternateHandlingShifted Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if the alternate handling behavior is the UCA defined SHIFTED or NON_IGNORABLE. -or- Sets the alternate handling for QUATERNARY strength to be either shifted or non-ignorable.
public bool AlternateHandlingShifted { [Android.Runtime.Register("isAlternateHandlingShifted", "()Z", "", ApiSince=24)] get; [Android.Runtime.Register("setAlternateHandlingShifted", "(Z)V", "", ApiSince=24)] set; }
[<get: Android.Runtime.Register("isAlternateHandlingShifted", "()Z", "", ApiSince=24)>]
[<set: Android.Runtime.Register("setAlternateHandlingShifted", "(Z)V", "", ApiSince=24)>]
member this.AlternateHandlingShifted : bool with get, set
Property Value
true or false
- Attributes
Remarks
Property getter documentation:
Checks if the alternate handling behavior is the UCA defined SHIFTED or NON_IGNORABLE. If return value is true, then the alternate handling attribute for the Collator is SHIFTED. Otherwise if return value is false, then the alternate handling attribute for the Collator is NON_IGNORABLE See setAlternateHandlingShifted(boolean) for more details.
Java documentation for android.icu.text.RuleBasedCollator.isAlternateHandlingShifted()
.
Property setter documentation:
Sets the alternate handling for QUATERNARY strength to be either shifted or non-ignorable. See the UCA definition on Variable Weighting. This attribute will only be effective when QUATERNARY strength is set. If the mode is set to false, it corresponds to the NON_IGNORABLE mode in UCA. In the NON_IGNORABLE mode, the RuleBasedCollator treats all the code points with non-ignorable primary weights in the same way. If the mode is set to true, the behavior corresponds to SHIFTED defined in UCA, this causes code points with PRIMARY orders that are equal or below the variable top value to be ignored in PRIMARY order and moved to the QUATERNARY order. The default setting in a Collator object depends on the locale data loaded from the resources. For most locales, the default is false, but for others, such as "th", the default could be true.
Java documentation for android.icu.text.RuleBasedCollator.setAlternateHandlingShifted(boolean)
.
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.