Class BoundaryIteratorOfInts

java.lang.Object
com.ibm.icu.segmenter.BoundaryIteratorOfInts

class BoundaryIteratorOfInts extends Object
An iterator of segmentation boundaries that can operate in either the forwards or reverse direction.

When constructed to operate in the forwards direction, the iterator will return all boundaries that are strictly after the input index value provided to the constructor. However, when constructed to operate in the backwards direction, if the input index is already a segmentation boundary, then it will be included as the first value that the iterator returns as it iterates backwards.