NetMirror.apk
Download file
package com.facebook.hermes.intl;
import android.icu.lang.UCharacter;
import android.icu.util.ULocale;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
/* JADX INFO: loaded from: classes.dex */
public class Intl {
private static List a(List list) throws B0.e {
if (list.size() == 0) {
return Collections.emptyList();
}
ArrayList arrayList = new ArrayList();
Iterator it = list.iterator();
while (it.hasNext()) {
String str = (String) it.next();
if (str == null) {
throw new B0.e("Incorrect locale information provided");
}
if (str.isEmpty()) {
throw new B0.e("Incorrect locale information provided");
}
String strA = d.a(str);
if (!strA.isEmpty() && !arrayList.contains(strA)) {
arrayList.add(strA);
}
}
return arrayList;
}
public static List<String> getCanonicalLocales(List<String> list) {
return a(list);
}
public static String toLocaleLowerCase(List<String> list, String str) {
return UCharacter.toLowerCase((ULocale) e.c((String[]) list.toArray(new String[list.size()])).f5895a.h(), str);
}
public static String toLocaleUpperCase(List<String> list, String str) {
return UCharacter.toUpperCase((ULocale) e.c((String[]) list.toArray(new String[list.size()])).f5895a.h(), str);
}
}
⚠️ This content was hidden by an advertisement filtering extension in your browser. Please disable it and reload the page to access the decompiled content.
We only display one small text ad to keep this service free. Here's what it looks like:
Read the Docs for Business: You write the docs. We do the rest.
Try it today!Ad by EthicalAds
Download file