| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final Normalizer2Impl | |
| private StringBuilder | |
| private int | |
| private StringBuilder | |
| private int | |
| private FCDIterCollationIterator. |
| Access | Constructor and Description |
|---|---|
| public | FCDIterCollationIterator(CollationData data, boolean numeric, UCharacterIterator ui, int startIndex)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| public int | |
| protected char | handleGetTrailSurrogate()
Overrides com. |
| protected long | handleNextCE32()
Overrides com. |
| public int | nextCodePoint()
Overrides com. |
| private boolean | |
| private void | |
| public int | previousCodePoint()
Overrides com. |
| private boolean | Returns: true if successExtends the FCD text segment backward or normalizes around pos. |
| public void | resetToOffset(int newOffset)
Overrides com. |
| private void | |
| private void |
| limit | back to summary |
|---|---|
| private int limit | |
| nfcImpl | back to summary |
|---|---|
| private final Normalizer2Impl nfcImpl | |
| normalized | back to summary |
|---|---|
| private StringBuilder normalized | |
| pos | back to summary |
|---|---|
| private int pos | |
| s | back to summary |
|---|---|
| private StringBuilder s | |
| start | back to summary |
|---|---|
| private int start | |
| state | back to summary |
|---|---|
| private FCDIterCollationIterator. | |
| FCDIterCollationIterator | back to summary |
|---|---|
| public FCDIterCollationIterator(CollationData data, boolean numeric, UCharacterIterator ui, int startIndex) | |
| backwardNumCodePoints | back to summary |
|---|---|
| protected void backwardNumCodePoints(int num) Overrides com.
| |
| forwardNumCodePoints | back to summary |
|---|---|
| protected void forwardNumCodePoints(int num) Overrides com.
| |
| getOffset | back to summary |
|---|---|
| public int getOffset() Overrides com.
| |
| handleGetTrailSurrogate | back to summary |
|---|---|
| protected char handleGetTrailSurrogate() Overrides com. Doc from com. Called when handleNextCE32() returns a LEAD_SURROGATE_TAG for a lead surrogate code unit. Returns the trail surrogate in that case and advances past it, if a trail surrogate follows the lead surrogate. Otherwise returns any other code unit and does not advance.
| |
| handleNextCE32 | back to summary |
|---|---|
| protected long handleNextCE32() Overrides com. Doc from com. Returns the next code point and its local CE32 value. Returns Collation.FALLBACK_CE32 at the end of the text (c<0) or when c's CE32 value is to be looked up in the base data (fallback). The code point is used for fallbacks, context and implicit weights. It is ignored when the returned CE32 is not special (e.g., FFFD_CE32). Returns the code point in bits 63..32 (signed) and the CE32 in bits 31..0.
| |
| nextCodePoint | back to summary |
|---|---|
| public int nextCodePoint() Overrides com. Doc from com. Returns the next code point (with post-increment). Public for identical-level comparison and for testing.
| |
| nextSegment | back to summary |
|---|---|
| private boolean nextSegment() Extends the FCD text segment forward or normalizes around pos.
| |
| normalize | back to summary |
|---|---|
| private void normalize(CharSequence s) | |
| previousCodePoint | back to summary |
|---|---|
| public int previousCodePoint() Overrides com. Doc from com. Returns the previous code point (with pre-decrement). Public for identical-level comparison and for testing.
| |
| previousSegment | back to summary |
|---|---|
| private boolean previousSegment() Extends the FCD text segment backward or normalizes around pos.
| |
| resetToOffset | back to summary |
|---|---|
| public void resetToOffset(int newOffset) Overrides com. Doc from com. Resets the iterator state and sets the position to the specified offset. Subclasses must implement, and must call the parent class method, or CollationIterator.reset().
| |
| switchToBackward | back to summary |
|---|---|
| private void switchToBackward() Switches to backward checking. | |
| switchToForward | back to summary |
|---|---|
| private void switchToForward() Switches to forward checking if possible. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final FCDIterCollationIterator. | IN_NORM_ITER_AT_LIMIT
The input text [start..limit[ failed the FCD check and was normalized. |
| public static final FCDIterCollationIterator. | IN_NORM_ITER_AT_START
The input text [start..limit[ failed the FCD check and was normalized. |
| public static final FCDIterCollationIterator. | ITER_CHECK_BWD
The input text [(iter index)..limit[ passes the FCD check. |
| public static final FCDIterCollationIterator. | ITER_CHECK_FWD
The input text [start..(iter index)[ passes the FCD check. |
| public static final FCDIterCollationIterator. | ITER_IN_FCD_SEGMENT
The input text [start..limit[ passes the FCD check. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FCDIterCollationIterator. | |
| public static FCDIterCollationIterator. |
| IN_NORM_ITER_AT_LIMIT | back to summary |
|---|---|
| public static final FCDIterCollationIterator. The input text [start..limit[ failed the FCD check and was normalized. pos tracks the current index in the normalized string. The text iterator is at the limit index. | |
| IN_NORM_ITER_AT_START | back to summary |
|---|---|
| public static final FCDIterCollationIterator. The input text [start..limit[ failed the FCD check and was normalized. pos tracks the current index in the normalized string. The text iterator is at the start index. | |
| ITER_CHECK_BWD | back to summary |
|---|---|
| public static final FCDIterCollationIterator. The input text [(iter index)..limit[ passes the FCD check. Moving backward checks incrementally. start & pos are undefined. | |
| ITER_CHECK_FWD | back to summary |
|---|---|
| public static final FCDIterCollationIterator. The input text [start..(iter index)[ passes the FCD check. Moving forward checks incrementally. pos & limit are undefined. | |
| ITER_IN_FCD_SEGMENT | back to summary |
|---|---|
| public static final FCDIterCollationIterator. The input text [start..limit[ passes the FCD check. pos tracks the current text index. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static FCDIterCollationIterator. | |
| values | back to summary |
|---|---|
| public static FCDIterCollationIterator. | |