43 lines
1.2 KiB
Java
43 lines
1.2 KiB
Java
|
package o;
|
||
|
|
||
|
import java.io.Serializable;
|
||
|
|
||
|
/* renamed from: o.gjr, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes6.dex */
|
||
|
public enum EnumC15197gjr implements Serializable {
|
||
|
SENSITIVE("Sensitive", true),
|
||
|
INSENSITIVE("Insensitive", false),
|
||
|
SYSTEM("System", !C15188gji.b());
|
||
|
|
||
|
private static final long serialVersionUID = -6343169151696340687L;
|
||
|
private final String name;
|
||
|
public final transient boolean sensitive;
|
||
|
|
||
|
EnumC15197gjr(String str, boolean z) {
|
||
|
this.name = str;
|
||
|
this.sensitive = z;
|
||
|
}
|
||
|
|
||
|
public final boolean d(String str, String str2) {
|
||
|
if (str == null || str2 == null) {
|
||
|
throw new NullPointerException("The strings must not be null");
|
||
|
}
|
||
|
return this.sensitive ? str.equals(str2) : str.equalsIgnoreCase(str2);
|
||
|
}
|
||
|
|
||
|
private Object readResolve() {
|
||
|
String str = this.name;
|
||
|
for (EnumC15197gjr enumC15197gjr : values()) {
|
||
|
if (enumC15197gjr.name.equals(str)) {
|
||
|
return enumC15197gjr;
|
||
|
}
|
||
|
}
|
||
|
throw new IllegalArgumentException("Invalid IOCase name: ".concat(String.valueOf(str)));
|
||
|
}
|
||
|
|
||
|
@Override // java.lang.Enum
|
||
|
public final String toString() {
|
||
|
return this.name;
|
||
|
}
|
||
|
}
|