Share via


UCharacterIterator.GetInstance Method

Definition

Overloads

GetInstance(IReplaceable)

Returns a UCharacterIterator object given a Replaceable object.

GetInstance(StringBuffer)

Returns a UCharacterIterator object given a source StringBuffer.

GetInstance(ICharacterIterator)

Returns a UCharacterIterator object given a CharacterIterator.

GetInstance(Char[])

Returns a UCharacterIterator object given a source character array.

GetInstance(String)

Returns a UCharacterIterator object given a source string.

GetInstance(Char[], Int32, Int32)

Returns a UCharacterIterator object given a source character array.

GetInstance(IReplaceable)

Returns a UCharacterIterator object given a Replaceable object.

[Android.Runtime.Register("getInstance", "(Landroid/icu/text/Replaceable;)Landroid/icu/text/UCharacterIterator;", "", ApiSince=24)]
public static Android.Icu.Text.UCharacterIterator? GetInstance (Android.Icu.Text.IReplaceable? source);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/text/Replaceable;)Landroid/icu/text/UCharacterIterator;", "", ApiSince=24)>]
static member GetInstance : Android.Icu.Text.IReplaceable -> Android.Icu.Text.UCharacterIterator

Parameters

source
IReplaceable

a valid source as a Replaceable object

Returns

UCharacterIterator object

Attributes

Remarks

Returns a UCharacterIterator object given a Replaceable object.

Java documentation for android.icu.text.UCharacterIterator.getInstance(android.icu.text.Replaceable).

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

GetInstance(StringBuffer)

Returns a UCharacterIterator object given a source StringBuffer.

[Android.Runtime.Register("getInstance", "(Ljava/lang/StringBuffer;)Landroid/icu/text/UCharacterIterator;", "", ApiSince=24)]
public static Android.Icu.Text.UCharacterIterator? GetInstance (Java.Lang.StringBuffer? source);
[<Android.Runtime.Register("getInstance", "(Ljava/lang/StringBuffer;)Landroid/icu/text/UCharacterIterator;", "", ApiSince=24)>]
static member GetInstance : Java.Lang.StringBuffer -> Android.Icu.Text.UCharacterIterator

Parameters

source
StringBuffer

an string buffer of UTF-16 code units

Returns

UCharacterIterator object

Attributes

Remarks

Returns a UCharacterIterator object given a source StringBuffer.

Java documentation for android.icu.text.UCharacterIterator.getInstance(java.lang.StringBuffer).

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

GetInstance(ICharacterIterator)

Returns a UCharacterIterator object given a CharacterIterator.

[Android.Runtime.Register("getInstance", "(Ljava/text/CharacterIterator;)Landroid/icu/text/UCharacterIterator;", "", ApiSince=24)]
public static Android.Icu.Text.UCharacterIterator? GetInstance (Java.Text.ICharacterIterator? source);
[<Android.Runtime.Register("getInstance", "(Ljava/text/CharacterIterator;)Landroid/icu/text/UCharacterIterator;", "", ApiSince=24)>]
static member GetInstance : Java.Text.ICharacterIterator -> Android.Icu.Text.UCharacterIterator

Parameters

source
ICharacterIterator

a valid CharacterIterator object.

Returns

UCharacterIterator object

Attributes

Remarks

Returns a UCharacterIterator object given a CharacterIterator.

Java documentation for android.icu.text.UCharacterIterator.getInstance(java.text.CharacterIterator).

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

GetInstance(Char[])

Returns a UCharacterIterator object given a source character array.

[Android.Runtime.Register("getInstance", "([C)Landroid/icu/text/UCharacterIterator;", "", ApiSince=24)]
public static Android.Icu.Text.UCharacterIterator? GetInstance (char[]? source);
[<Android.Runtime.Register("getInstance", "([C)Landroid/icu/text/UCharacterIterator;", "", ApiSince=24)>]
static member GetInstance : char[] -> Android.Icu.Text.UCharacterIterator

Parameters

source
Char[]

an array of UTF-16 code units

Returns

UCharacterIterator object

Attributes

Remarks

Returns a UCharacterIterator object given a source character array.

Java documentation for android.icu.text.UCharacterIterator.getInstance(char[]).

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

GetInstance(String)

Returns a UCharacterIterator object given a source string.

[Android.Runtime.Register("getInstance", "(Ljava/lang/String;)Landroid/icu/text/UCharacterIterator;", "", ApiSince=24)]
public static Android.Icu.Text.UCharacterIterator? GetInstance (string? source);
[<Android.Runtime.Register("getInstance", "(Ljava/lang/String;)Landroid/icu/text/UCharacterIterator;", "", ApiSince=24)>]
static member GetInstance : string -> Android.Icu.Text.UCharacterIterator

Parameters

source
String

a string

Returns

UCharacterIterator object

Attributes

Remarks

Returns a UCharacterIterator object given a source string.

Java documentation for android.icu.text.UCharacterIterator.getInstance(java.lang.String).

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

GetInstance(Char[], Int32, Int32)

Returns a UCharacterIterator object given a source character array.

[Android.Runtime.Register("getInstance", "([CII)Landroid/icu/text/UCharacterIterator;", "", ApiSince=24)]
public static Android.Icu.Text.UCharacterIterator? GetInstance (char[]? source, int start, int limit);
[<Android.Runtime.Register("getInstance", "([CII)Landroid/icu/text/UCharacterIterator;", "", ApiSince=24)>]
static member GetInstance : char[] * int * int -> Android.Icu.Text.UCharacterIterator

Parameters

source
Char[]

an array of UTF-16 code units

start
Int32
limit
Int32

Returns

UCharacterIterator object

Attributes

Remarks

Returns a UCharacterIterator object given a source character array.

Java documentation for android.icu.text.UCharacterIterator.getInstance(char[], int, 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