語言

SearchIterator.Following(Int32) 方法

定義

回傳第一個索引,該索引大小於或大於 position 字串文字與搜尋模式相符的位置。

[Android.Runtime.Register("following", "(I)I", "", ApiSince=24)]
public int Following(int position);
[<Android.Runtime.Register("following", "(I)I", "", ApiSince=24)>]
member this.Following : int -> int

參數

position
Int32

搜尋是否應該從哪裡開始。

傳回

在 之後第一個匹配 position的 ,或 #DONE 如果沒有匹配,則為

屬性

備註

回傳第一個索引,該索引大小於或大於 position 字串文字與搜尋模式相符的位置。 迭代器會調整為其當前索引(由 #getIndex()回傳)為匹配位置(若找到)。 若未找到 #DONE 匹配,將回傳,並調整迭代器至索引 #DONE。

Java 文件 android.icu.text.SearchIterator.following(int)。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於