next
Returns the boundary following the current boundary. If the current boundary is the last text boundary, it returns BreakIterator.DONE and the iterator's current position is unchanged. Otherwise, the iterator's current position is set to the boundary following the current boundary.
Advances the iterator either forward or backward the specified number of steps. Negative values move backward, and positive values move forward. This is equivalent to repeatedly calling next() or previous().
Return
The character offset of the boundary position n boundaries away from the current one.
Parameters
n
The number of steps to move. The sign indicates the direction (negative is backwards, and positive is forwards).