public class IterCollationIterator extends CollationIterator
| Modifier and Type | Field and Description |
|---|---|
protected UCharacterIterator |
iter |
data, NO_CP_AND_CE32, trie| Constructor and Description |
|---|
IterCollationIterator(CollationData d,
boolean numeric,
UCharacterIterator ui) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
backwardNumCodePoints(int num) |
protected void |
forwardNumCodePoints(int num) |
int |
getOffset() |
protected char |
handleGetTrailSurrogate()
Called when handleNextCE32() returns a LEAD_SURROGATE_TAG for a lead surrogate code unit.
|
protected long |
handleNextCE32()
Returns the next code point and its local CE32 value.
|
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.
|
appendCEsFromCE32, clearCEsIfNoneRemaining, equals, fetchCEs, forbidSurrogateCodePoints, getCE, getCE32FromBuilderData, getCEs, getCEsLength, getDataCE32, hashCode, isLeadSurrogate, isTrailSurrogate, makeCodePointAndCE32Pair, nextCE, previousCE, reset, resetprotected UCharacterIterator iter
public IterCollationIterator(CollationData d, boolean numeric, UCharacterIterator ui)
public void resetToOffset(int newOffset)
CollationIteratorresetToOffset in class CollationIteratorpublic int getOffset()
getOffset in class CollationIteratorpublic int nextCodePoint()
CollationIteratornextCodePoint in class CollationIteratorpublic int previousCodePoint()
CollationIteratorpreviousCodePoint in class CollationIteratorprotected long handleNextCE32()
CollationIteratorhandleNextCE32 in class CollationIteratorprotected char handleGetTrailSurrogate()
CollationIteratorhandleGetTrailSurrogate in class CollationIteratorprotected void forwardNumCodePoints(int num)
forwardNumCodePoints in class CollationIteratorprotected void backwardNumCodePoints(int num)
backwardNumCodePoints in class CollationIterator