| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected int | |
| protected int | |
| protected int | |
| protected int | |
| protected int | |
| protected int | |
| protected boolean | |
| protected Replaceable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: Boolean value.Did forward context iteration with next() reach the iteration limit? |
| public int | Returns: The start index of the current code point.Get the index of where the code point currently being case-mapped starts. |
| public int | next()
Implements com. |
| public int | Returns: The next code point to be case-mapped, or <0 when the iteration is done.Iterate forward through the string to fetch the next code point to be case-mapped, and set the context indexes for it. |
| public int | |
| public void | reset(int
>0: Begin iterating forward from the first code point
after the one that is being case-mapped.
<0: Begin iterating backward from the first code point
before the one that is being case-mapped. direction)Implements com. |
| public void | setContextLimits(int
Start of context for next(). contextStart, int Limit of context for next(). contextLimit)Set the start and limit indexes for context iteration with next(). |
| public void | setIndex(int
Iteration start index for nextCaseMapCP(). index)Set the index where nextCaseMapCP() is to start iterating. |
| public void | setLimit(int
The iteration limit. lim)Set the iteration limit for nextCaseMapCP() to an index within the string. |
| public void |
| contextLimit | back to summary |
|---|---|
| protected int contextLimit | |
| contextStart | back to summary |
|---|---|
| protected int contextStart | |
| cpLimit | back to summary |
|---|---|
| protected int cpLimit | |
| cpStart | back to summary |
|---|---|
| protected int cpStart | |
| dir | back to summary |
|---|---|
| protected int dir | |
| index | back to summary |
|---|---|
| protected int index | |
| limit | back to summary |
|---|---|
| protected int limit | |
| reachedLimit | back to summary |
|---|---|
| protected boolean reachedLimit | |
| rep | back to summary |
|---|---|
| protected Replaceable rep | |
| ReplaceableContextIterator | back to summary |
|---|---|
| pack-priv ReplaceableContextIterator() Constructor. | |
| didReachLimit | back to summary |
|---|---|
| public boolean didReachLimit() Did forward context iteration with next() reach the iteration limit?
| |
| getCaseMapCPStart | back to summary |
|---|---|
| public int getCaseMapCPStart() Get the index of where the code point currently being case-mapped starts.
| |
| next | back to summary |
|---|---|
| public int next() Implements com. Doc from com. Iterate and return the next code point, moving in the direction determined by the reset() call.
| |
| nextCaseMapCP | back to summary |
|---|---|
| public int nextCaseMapCP() Iterate forward through the string to fetch the next code point to be case-mapped, and set the context indexes for it.
| |
| replace | back to summary |
|---|---|
| public int replace(String text) Replace the current code point by its case mapping, and update the indexes.
| |
| reset | back to summary |
|---|---|
| public void reset(int direction) Implements com. Doc from com. Reset the iterator for forward or backward iteration.
| |
| setContextLimits | back to summary |
|---|---|
| public void setContextLimits(int contextStart, int contextLimit) Set the start and limit indexes for context iteration with next().
| |
| setIndex | back to summary |
|---|---|
| public void setIndex(int index) Set the index where nextCaseMapCP() is to start iterating.
| |
| setLimit | back to summary |
|---|---|
| public void setLimit(int lim) Set the iteration limit for nextCaseMapCP() to an index within the string. If the limit parameter is negative or past the string, then the string length is restored as the iteration limit.
| |
| setText | back to summary |
|---|---|
| public void setText(Replaceable rep) Set the text for iteration.
| |