code: @Deprecated
      public final void reset(String str)
      {
          int length   = 0;
          
          if (str != null) {
              length = str.length();
          }
          
          reset(str, 0, length);
      }
docs: Reset the iterator to iterate over the characters
  in <code>text</code>. This allows clients to reuse an iterator.
  
  @param str the new string of characters over which to iterate.
  
  @deprecated This API is ICU internal only.
  @hide draft / provisional / internal are hidden on Android