次の方法で共有


ICharacterIterator.Last Method

Definition

Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty) and returns the character at that position.

[Android.Runtime.Register("last", "()C", "GetLastHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public char Last ();
[<Android.Runtime.Register("last", "()C", "GetLastHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Last : unit -> char

Returns

the last character in the text, or DONE if the text is empty

Attributes

Remarks

Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty) and returns the character at that position.

Java documentation for java.text.CharacterIterator.last().

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