BreakIterator.next

BreakIterator.next

Class Overview | Class Members | This Package | All Packages

Syntax 1
public abstract int next( int n )
Parameters
n
which boundary to return. A value of 0 does nothing. Negative values move to previous boundaries and positive values move to later boundaries.
Returns
The index of the nth boundary from the current position.
Description
Return the nth boundary from the current boundary



Syntax 2
public abstract int next()
Returns
The character index of the next text boundary or DONE if all boundaries have been returned. Equivalent to next(1).
Description
Return the boundary following the current boundary.