| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final Normalizer2Impl | |
| private StringBuilder | |
| private int | |
| private CharSequence | |
| private static final int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | FCDUTF16CollationIterator(CollationData d)
Partial constructor, see |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides com. |
| protected void | |
| public int | |
| protected long | handleNextCE32()
Overrides com. |
| public int | hashCode()
Overrides com. |
| public int | nextCodePoint()
Overrides com. |
| private void | |
| private void | |
| public int | previousCodePoint()
Overrides com. |
| private void | |
| public void | resetToOffset(int newOffset)
Overrides com. |
| public void | setText(boolean numeric, CharSequence s, int p)
Overrides com. |
| private void | |
| private void |
| checkDir | back to summary |
|---|---|
| private int checkDir | |
| nfcImpl | back to summary |
|---|---|
| private final Normalizer2Impl nfcImpl | |
| normalized | back to summary |
|---|---|
| private StringBuilder normalized | |
| rawLimit | back to summary |
|---|---|
| private int rawLimit | |
| rawSeq | back to summary |
|---|---|
| private CharSequence rawSeq | |
| rawStart | back to summary |
|---|---|
| private static final int rawStart | |
| segmentLimit | back to summary |
|---|---|
| private int segmentLimit | |
| segmentStart | back to summary |
|---|---|
| private int segmentStart | |
| FCDUTF16CollationIterator | back to summary |
|---|---|
| public FCDUTF16CollationIterator(CollationData d) Partial constructor, see | |
| FCDUTF16CollationIterator | back to summary |
|---|---|
| public FCDUTF16CollationIterator(CollationData data, boolean numeric, CharSequence s, int p) | |
| backwardNumCodePoints | back to summary |
|---|---|
| protected void backwardNumCodePoints(int num) Overrides com.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides com. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| forwardNumCodePoints | back to summary |
|---|---|
| protected void forwardNumCodePoints(int num) Overrides com.
| |
| getOffset | back to summary |
|---|---|
| public int getOffset() Overrides com.
| |
| 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.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides com. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| 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 void nextSegment() Extend the FCD text segment forward or normalize around pos. To be called when checkDir > 0 && pos != limit. Returns with checkDir == 0 and pos != limit. | |
| normalize | back to summary |
|---|---|
| private void normalize(int from, int to) | |
| 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 void previousSegment() Extend the FCD text segment backward or normalize around pos. To be called when checkDir < 0 && pos != start. Returns with checkDir == 0 and pos != start. | |
| 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().
| |
| setText | back to summary |
|---|---|
| public void setText(boolean numeric, CharSequence s, int p) Overrides com.
| |
| switchToBackward | back to summary |
|---|---|
| private void switchToBackward() Switches to backward checking. To be called when checkDir > 0 || (checkDir == 0 && pos == start). Returns with checkDir < 0 || (checkDir == 0 && pos != start). | |
| switchToForward | back to summary |
|---|---|
| private void switchToForward() Switches to forward checking if possible. To be called when checkDir < 0 || (checkDir == 0 && pos == limit). Returns with checkDir > 0 || (checkDir == 0 && pos != limit). | |