@Test public void testToString() { LocaleListCompat ll = LocaleListCompat.create(); assertEquals("[]", ll.toString()); final Locale[] la1 = {Locale.US}; ll = LocaleListCompat.create(la1); assertEquals("[" + Locale.US.toString() + "]", ll.toString()); final Locale[] la2 = {Locale.US, Locale.FRENCH}; ll = LocaleListCompat.create(la2); assertEquals("[" + Locale.US.toString() + "," + Locale.FRENCH.toString() + "]", ll.toString()); }
@Override public String toString() { return IMPL.toString(); }
LocaleListCompat { @Override public String toString() { return IMPL.toString(); } }
LocaleListCompat { @Override public String toString() { return IMPL.toString(); } private  LocaleListCompat(); }
LocaleListCompat { @Override public String toString() { return IMPL.toString(); } private  LocaleListCompat(); @RequiresApi(24) static LocaleListCompat wrap(Object object); @Nullable Object unwrap(); static LocaleListCompat create(@NonNull Locale... localeList); Locale get(int index); boolean isEmpty(); @IntRange(from = 0) int size(); @IntRange(from = -1) int indexOf(Locale locale); @NonNull String toLanguageTags(); Locale getFirstMatch(String[] supportedLocales); @NonNull static LocaleListCompat getEmptyLocaleList(); @NonNull static LocaleListCompat forLanguageTags(@Nullable String list); @NonNull @Size(min = 1) static LocaleListCompat getAdjustedDefault(); @NonNull @Size(min = 1) static LocaleListCompat getDefault(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
LocaleListCompat { @Override public String toString() { return IMPL.toString(); } private  LocaleListCompat(); @RequiresApi(24) static LocaleListCompat wrap(Object object); @Nullable Object unwrap(); static LocaleListCompat create(@NonNull Locale... localeList); Locale get(int index); boolean isEmpty(); @IntRange(from = 0) int size(); @IntRange(from = -1) int indexOf(Locale locale); @NonNull String toLanguageTags(); Locale getFirstMatch(String[] supportedLocales); @NonNull static LocaleListCompat getEmptyLocaleList(); @NonNull static LocaleListCompat forLanguageTags(@Nullable String list); @NonNull @Size(min = 1) static LocaleListCompat getAdjustedDefault(); @NonNull @Size(min = 1) static LocaleListCompat getDefault(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }