85 lines
1.9 KiB
Java
85 lines
1.9 KiB
Java
|
package o;
|
||
|
|
||
|
import android.os.LocaleList;
|
||
|
import java.util.Locale;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class Plu {
|
||
|
private static final Plu a = d(new Locale[0]);
|
||
|
private final rMK d;
|
||
|
|
||
|
private Plu(rMK rmk) {
|
||
|
this.d = rmk;
|
||
|
}
|
||
|
|
||
|
public static Plu qv_(LocaleList localeList) {
|
||
|
return new Plu(new FQr(localeList));
|
||
|
}
|
||
|
|
||
|
public static Plu d(Locale... localeArr) {
|
||
|
return qv_(LWm.qw_(localeArr));
|
||
|
}
|
||
|
|
||
|
public final Locale c(int i) {
|
||
|
return this.d.e(i);
|
||
|
}
|
||
|
|
||
|
public final boolean a() {
|
||
|
return this.d.e();
|
||
|
}
|
||
|
|
||
|
public final int b() {
|
||
|
return this.d.d();
|
||
|
}
|
||
|
|
||
|
public final String c() {
|
||
|
return this.d.c();
|
||
|
}
|
||
|
|
||
|
public static Plu e(String str) {
|
||
|
if (str == null || str.isEmpty()) {
|
||
|
return d();
|
||
|
}
|
||
|
String[] split = str.split(",", -1);
|
||
|
int length = split.length;
|
||
|
Locale[] localeArr = new Locale[length];
|
||
|
for (int i = 0; i < length; i++) {
|
||
|
localeArr[i] = RVV.e(split[i]);
|
||
|
}
|
||
|
return d(localeArr);
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
static class RVV {
|
||
|
private static final Locale[] e = {new Locale("en", "XA"), new Locale("ar", "XB")};
|
||
|
|
||
|
static Locale e(String str) {
|
||
|
return Locale.forLanguageTag(str);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
return (obj instanceof Plu) && this.d.equals(((Plu) obj).d);
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
return this.d.hashCode();
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
return this.d.toString();
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* loaded from: classes.dex */
|
||
|
public static class LWm {
|
||
|
static LocaleList qw_(Locale... localeArr) {
|
||
|
return new LocaleList(localeArr);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static Plu d() {
|
||
|
return a;
|
||
|
}
|
||
|
}
|