BreakIterator.Following(Int32) 方法

定义

返回指定字符偏移后的第一个边界。

[Android.Runtime.Register("following", "(I)I", "GetFollowing_IHandler")]
public abstract int Following(int offset);
[<Android.Runtime.Register("following", "(I)I", "GetFollowing_IHandler")>]
abstract member Following : int -> int

参数

offset
Int32

开始扫描的字符偏移量。

返回

指定偏移量后的第一个边界,或者 BreakIterator.DONE 最后一个文本边界作为偏移量传入。

属性

例外

如果偏移量无效,则为 。

注解

返回指定字符偏移后的第一个边界。 如果指定的偏移量等于最后一个文本边界,它将返回 BreakIterator.DONE ,迭代器的当前位置保持不变。 否则,迭代器的当前位置设置为返回的边界。 返回的值始终大于偏移量或值 BreakIterator.DONE

Java文档java.text.BreakIterator.following(int)

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于