< prev index next >
src/java.base/share/classes/java/text/BreakIterator.java
Print this page
rev 58428 : [mq]: XXXXXXX-typos
@@ -316,11 +316,11 @@
*/
public abstract int previous();
/**
* Returns the first boundary following the specified character offset. If the
- * specified offset equals to the last text boundary, it returns
+ * specified offset is equal to the last text boundary, it returns
* {@code BreakIterator.DONE} and the iterator's current position is unchanged.
* Otherwise, the iterator's current position is set to the returned boundary.
* The value returned is always greater than the offset or the value
* {@code BreakIterator.DONE}.
* @param offset the character offset to begin scanning.
@@ -332,11 +332,11 @@
*/
public abstract int following(int offset);
/**
* Returns the last boundary preceding the specified character offset. If the
- * specified offset equals to the first text boundary, it returns
+ * specified offset is equal to the first text boundary, it returns
* {@code BreakIterator.DONE} and the iterator's current position is unchanged.
* Otherwise, the iterator's current position is set to the returned boundary.
* The value returned is always less than the offset or the value
* {@code BreakIterator.DONE}.
* @param offset the character offset to begin scanning.
< prev index next >