| Modifier and Type | Field and Description |
|---|---|
| private int[] | |
| private int | |
| private char[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| private int | |
| public int | current()
Implements abstract java. Returns character index of the text boundary that was most recently returned by next(), next(int), previous(), first(), last(), following(int) or preceding(int). |
| public int | |
| public int | following(int n)
Implements abstract java. Returns the first boundary following the specified character offset. |
| public CharacterIterator | |
| public int | |
| public int | next()
Implements abstract java. Returns the boundary following the current boundary. |
| public int | next(int n)
Implements abstract java. Returns the nth boundary from the current boundary. |
| public int | preceding(int n)
Overrides java. Returns the last boundary preceding the specified character offset. |
| public int | previous()
Implements abstract java. Returns the boundary preceding the current boundary. |
| public void | setText(CharacterIterator ci)
Implements abstract java. Calculate break positions eagerly parallel to reading text. |
| breaks | back to summary |
|---|---|
| private int[] breaks | |
| pos | back to summary |
|---|---|
| private int pos | |
| text | back to summary |
|---|---|
| private char[] text | |
| WhitespaceBasedBreakIterator | back to summary |
|---|---|
| pack-priv WhitespaceBasedBreakIterator() | |
| adjacent | back to summary |
|---|---|
| private int adjacent(int n, int bias) | |
| checkhit | back to summary |
|---|---|
| private int checkhit(int hit) | |
| current | back to summary |
|---|---|
| public int current() Implements abstract java. Doc from java. Returns character index of the text boundary that was most
recently returned by next(), next(int), previous(), first(), last(),
following(int) or preceding(int). If any of these methods returns
| |
| first | back to summary |
|---|---|
| public int first() Implements abstract java. Doc from java. Returns the first boundary. The iterator's current position is set to the first text boundary. | |
| following | back to summary |
|---|---|
| public int following(int n) Implements abstract java. Doc from java. Returns the first boundary following the specified character offset. If the
specified offset is equal to the last text boundary, it returns
| |
| getText | back to summary |
|---|---|
| public CharacterIterator getText() Implements abstract java. Doc from java. Get the text being scanned | |
| last | back to summary |
|---|---|
| public int last() Implements abstract java. Doc from java. Returns the last boundary. The iterator's current position is set to the last text boundary. | |
| next | back to summary |
|---|---|
| public int next() Implements abstract java. Doc from java. Returns the boundary following the current boundary. If the current boundary
is the last text boundary, it returns | |
| next | back to summary |
|---|---|
| public int next(int n) Implements abstract java. Doc from java. Returns the nth boundary from the current boundary. If either
the first or last text boundary has been reached, it returns
| |
| preceding | back to summary |
|---|---|
| public int preceding(int n) Overrides java. Doc from java. Returns the last boundary preceding the specified character offset. If the
specified offset is equal to the first text boundary, it returns
| |
| previous | back to summary |
|---|---|
| public int previous() Implements abstract java. Doc from java. Returns the boundary preceding the current boundary. If the current boundary
is the first text boundary, it returns | |
| setText | back to summary |
|---|---|
| public void setText(CharacterIterator ci) Implements abstract java. Calculate break positions eagerly parallel to reading text. | |