Class CodePointTrie.Small.SmallStringIterator

java.lang.Object
com.ibm.icu.util.CodePointMap.StringIterator
com.ibm.icu.util.CodePointTrie.Small.SmallStringIterator
Enclosing class:
CodePointTrie.Small

private final class CodePointTrie.Small.SmallStringIterator extends CodePointMap.StringIterator
  • Constructor Details

    • SmallStringIterator

      private SmallStringIterator(CharSequence s, int sIndex)
  • 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 class CodePointMap.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 class CodePointMap.StringIterator
      Returns:
      true if the string index was not yet at the start of the string; otherwise the iterator did not advance