Share via


ICharacterIterator.Previous Method

Definition

Decrements the iterator's index by one and returns the character at the new index.

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

Returns

the character at the new position or DONE if the current position is equal to getBeginIndex().

Attributes

Remarks

Decrements the iterator's index by one and returns the character at the new index. If the current index is getBeginIndex(), the index remains at getBeginIndex() and a value of DONE is returned.

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

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