| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected int | |
| protected CharSequence | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public | UTF16CollationIterator(CollationData d)
Partial constructor, see |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | backwardNumCodePoints(int num)
Implements abstract com. |
| public boolean | |
| protected void | forwardNumCodePoints(int num)
Implements abstract com. |
| public int | |
| protected char | handleGetTrailSurrogate()
Overrides com. |
| protected long | handleNextCE32()
Overrides com. |
| public int | hashCode()
Returns a hash code value for the object.
|
| public int | nextCodePoint()
Implements abstract com. |
| public int | previousCodePoint()
Implements abstract com. |
| public void | resetToOffset(int newOffset)
Implements abstract com. |
| public void |
| limit | back to summary |
|---|---|
| protected int limit | |
| pos | back to summary |
|---|---|
| protected int pos | |
| seq | back to summary |
|---|---|
| protected CharSequence seq | |
| start | back to summary |
|---|---|
| protected int start | |
| UTF16CollationIterator | back to summary |
|---|---|
| public UTF16CollationIterator(CollationData d) Partial constructor, see | |
| UTF16CollationIterator | back to summary |
|---|---|
| public UTF16CollationIterator(CollationData d, boolean numeric, CharSequence s, int p) | |
| backwardNumCodePoints | back to summary |
|---|---|
| protected void backwardNumCodePoints(int num) Implements abstract 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) Implements abstract com.
| |
| getOffset | back to summary |
|---|---|
| public int getOffset() Implements abstract 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.
| |
| 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() Implements abstract com. Doc from com. Returns the next code point (with post-increment). Public for identical-level comparison and for testing.
| |
| previousCodePoint | back to summary |
|---|---|
| public int previousCodePoint() Implements abstract com. Doc from com. Returns the previous code point (with pre-decrement). Public for identical-level comparison and for testing.
| |
| resetToOffset | back to summary |
|---|---|
| public void resetToOffset(int newOffset) Implements abstract 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) | |