다음을 통해 공유


CollationKey(String, Byte[]) Constructor

Definition

CollationKey constructor.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;[B)V", "", ApiSince=24)]
public CollationKey (string? source, byte[]? key);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;[B)V", "", ApiSince=24)>]
new Android.Icu.Text.CollationKey : string * byte[] -> Android.Icu.Text.CollationKey

Parameters

source
String

string this CollationKey is to represent

key
Byte[]

array of bytes that represent the collation order of argument source terminated by a null

Attributes

Remarks

CollationKey constructor. This constructor is given public access, unlike the JDK version, to allow access to users extending the Collator class. See Collator#getCollationKey(String).

Java documentation for android.icu.text.CollationKey.CollationKey(java.lang.String, byte[]).

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