Package com.ibm.icu.util
Class CodePointTrie.Small.SmallStringIterator
java.lang.Object
com.ibm.icu.util.CodePointMap.StringIterator
com.ibm.icu.util.CodePointTrie.Small.SmallStringIterator
- Enclosing class:
CodePointTrie.Small
-
Field Summary
Fields inherited from class com.ibm.icu.util.CodePointMap.StringIterator
c, s, sIndex, value
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.ibm.icu.util.CodePointMap.StringIterator
getCodePoint, getIndex, getValue, reset
-
Constructor Details
-
SmallStringIterator
-
-
Method Details
-
next
public boolean next()Description copied from class:CodePointMap.StringIterator
Reads the next code point, post-increments the string index, and gets a value from the map. Sets an implementation-defined error value if the code point is an unpaired surrogate.- Overrides:
next
in classCodePointMap.StringIterator
- Returns:
- true if the string index was not yet at the end of the string; otherwise the iterator did not advance
-
previous
public boolean previous()Description copied from class:CodePointMap.StringIterator
Reads the previous code point, pre-decrements the string index, and gets a value from the map. Sets an implementation-defined error value if the code point is an unpaired surrogate.- Overrides:
previous
in classCodePointMap.StringIterator
- Returns:
- true if the string index was not yet at the start of the string; otherwise the iterator did not advance
-