public final class FCDUTF16CollationIterator extends UTF16CollationIterator
limit, pos, seq, startdata, NO_CP_AND_CE32, trie| Constructor and Description |
|---|
FCDUTF16CollationIterator(CollationData d)
Partial constructor, see
CollationIterator(CollationData). |
FCDUTF16CollationIterator(CollationData data,
boolean numeric,
CharSequence s,
int p) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
backwardNumCodePoints(int num) |
boolean |
equals(Object other)
Compares this instance with the specified object and indicates if they
are equal.
|
protected void |
forwardNumCodePoints(int num) |
int |
getOffset() |
protected long |
handleNextCE32()
Returns the next code point and its local CE32 value.
|
int |
hashCode()
Returns an integer hash code for this object.
|
int |
nextCodePoint()
Returns the next code point (with post-increment).
|
int |
previousCodePoint()
Returns the previous code point (with pre-decrement).
|
void |
resetToOffset(int newOffset)
Resets the iterator state and sets the position to the specified offset.
|
void |
setText(boolean numeric,
CharSequence s,
int p) |
handleGetTrailSurrogateappendCEsFromCE32, clearCEsIfNoneRemaining, fetchCEs, forbidSurrogateCodePoints, getCE, getCE32FromBuilderData, getCEs, getCEsLength, getDataCE32, isLeadSurrogate, isTrailSurrogate, makeCodePointAndCE32Pair, nextCE, previousCE, reset, resetpublic FCDUTF16CollationIterator(CollationData d)
CollationIterator(CollationData).public FCDUTF16CollationIterator(CollationData data, boolean numeric, CharSequence s, int p)
public boolean equals(Object other)
Objecto must represent the same object
as this instance using a class-specific comparison. The general contract
is that this comparison should be reflexive, symmetric, and transitive.
Also, no object reference other than null is equal to null.
The default implementation returns true only if this ==
o. See Writing a correct
equals method
if you intend implementing your own equals method.
The general contract for the equals and Object.hashCode() methods is that if equals returns true for
any two objects, then hashCode() must return the same value for
these objects. This means that subclasses of Object usually
override either both methods or neither of them.
equals in class UTF16CollationIteratorother - the object to compare this instance with.true if the specified object is equal to this Object; false otherwise.Object.hashCode()public int hashCode()
ObjectObject.equals(java.lang.Object) returns true must return
the same hash code value. This means that subclasses of Object
usually override both methods or neither method.
Note that hash values must not change over time unless information used in equals comparisons also changes.
See Writing a correct
hashCode method
if you intend implementing your own hashCode method.
hashCode in class UTF16CollationIteratorObject.equals(java.lang.Object)public void resetToOffset(int newOffset)
CollationIteratorresetToOffset in class UTF16CollationIteratorpublic int getOffset()
getOffset in class UTF16CollationIteratorpublic void setText(boolean numeric,
CharSequence s,
int p)
setText in class UTF16CollationIteratorpublic int nextCodePoint()
CollationIteratornextCodePoint in class UTF16CollationIteratorpublic int previousCodePoint()
CollationIteratorpreviousCodePoint in class UTF16CollationIteratorprotected long handleNextCE32()
CollationIteratorhandleNextCE32 in class UTF16CollationIteratorprotected void forwardNumCodePoints(int num)
forwardNumCodePoints in class UTF16CollationIteratorprotected void backwardNumCodePoints(int num)
backwardNumCodePoints in class UTF16CollationIterator