Partager via


Collator.Primary Field

Definition

Collator strength value.

[Android.Runtime.Register("PRIMARY")]
public const int Primary = 0;
[<Android.Runtime.Register("PRIMARY")>]
val mutable Primary : int

Field Value

Value = 0

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_ Java.Util.IComparator.cb_reversed_Reversed_Ljava_util_Comparator_ Java.Util.IComparator.cb_thenComparing_ThenComparing_Ljava_util_Comparator__Ljava_util_Comparator_ Java.Util.IComparator.cb_thenComparing_ThenComparing_Ljava_util_function_Function_Ljava_util_Comparator__Ljava_util_Comparator_ Java.Util.IComparator.cb_thenComparing_ThenComparing_Ljava_util_function_Function__Ljava_util_Comparator_ Java.Util.IComparator.cb_thenComparingDouble_ThenComparingDouble_Ljava_util_function_ToDoubleFunction__Ljava_util_Comparator_ Java.Util.IComparator.cb_thenComparingInt_ThenComparingInt_Ljava_util_function_ToIntFunction__Ljava_util_Comparator_ Java.Util.IComparator.cb_thenComparingLong_ThenComparingLong_Ljava_util_function_ToLongFunction__Ljava_util_Comparator_
Attributes

Remarks

Collator strength value. When set, only PRIMARY differences are considered significant during comparison. The assignment of strengths to language features is locale dependent. A common example is for different base letters ("a" vs "b") to be considered a PRIMARY difference.

Java documentation for java.text.Collator.PRIMARY.

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