58 lines
1.3 KiB
Java
58 lines
1.3 KiB
Java
package o;
|
|
|
|
/* renamed from: o.gpp, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public final class C15413gpp {
|
|
private static final C15413gpp b = new C15413gpp();
|
|
public final int c;
|
|
public final boolean e;
|
|
|
|
private C15413gpp() {
|
|
this.e = false;
|
|
this.c = 0;
|
|
}
|
|
|
|
private C15413gpp(int i) {
|
|
this.e = true;
|
|
this.c = i;
|
|
}
|
|
|
|
public static C15413gpp b(int i) {
|
|
return new C15413gpp(i);
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof C15413gpp)) {
|
|
return false;
|
|
}
|
|
C15413gpp c15413gpp = (C15413gpp) obj;
|
|
boolean z = this.e;
|
|
if (z && c15413gpp.e) {
|
|
if (this.c == c15413gpp.c) {
|
|
return true;
|
|
}
|
|
} else if (z == c15413gpp.e) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public final String toString() {
|
|
return this.e ? String.format("OptionalInt[%s]", Integer.valueOf(this.c)) : "OptionalInt.empty";
|
|
}
|
|
|
|
public final int hashCode() {
|
|
if (this.e) {
|
|
return this.c;
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
public static C15413gpp e() {
|
|
return b;
|
|
}
|
|
}
|