Share via


Collator.Secondary Field

Definition

Collator strength value.

[Android.Runtime.Register("SECONDARY")]
public const int Secondary = 1;
[<Android.Runtime.Register("SECONDARY")>]
val mutable Secondary : int

Field Value

Value = 1

Implements

Java.Util.IComparator._members Java.Util.IComparator.cb_reversed Java.Util.IComparator.cb_thenComparing_Ljava_util_Comparator_ Java.Util.IComparator.cb_thenComparing_Ljava_util_function_Function_Ljava_util_Comparator_ Java.Util.IComparator.cb_thenComparing_Ljava_util_function_Function_ Java.Util.IComparator.cb_thenComparingDouble_Ljava_util_function_ToDoubleFunction_ Java.Util.IComparator.cb_thenComparingInt_Ljava_util_function_ToIntFunction_ Java.Util.IComparator.cb_thenComparingLong_Ljava_util_function_ToLongFunction_
Attributes

Remarks

Collator strength value. When set, only SECONDARY and above differences are considered significant during comparison. The assignment of strengths to language features is locale dependent. A common example is for different accented forms of the same base letter ("a" vs "\u00E4") to be considered a SECONDARY difference.

Java documentation for java.text.Collator.SECONDARY.

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