code: public GlobalizationPreferences setLocales(ULocale[] uLocales) {
          if (isFrozen()) {
              throw new UnsupportedOperationException("Attempt to modify immutable object");
          }
          return setLocales(Arrays.asList(uLocales));
      }
docs: Convenience routine for setting the language/locale priority
  list from an array.
  
  @see #setLocales(List locales)
  @param uLocales list of locales in an array
  @return this, for chaining
  @hide draft / provisional / internal are hidden on Android