setText

fun setText(text: String)

Reset this iterator to point to a new string. This package-visible method is used by other java.text classes that want to avoid allocating new StringCharacterIterator objects every time their setText method is called.

Since

1.2

Parameters

text

The String to be iterated over

Throws

if text is null