Class CodePointTrie.Fast.FastStringIterator

    • Constructor Detail

      • FastStringIterator

        private FastStringIterator​(java.lang.CharSequence s,
                                   int sIndex)
    • Method Detail

      • 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