discord-jadx/app/src/main/java/com/discord/utilities/Quad.java

112 lines
2.8 KiB
Java

package com.discord.utilities;
import c.d.b.a.a;
import d0.z.d.m;
/* compiled from: Quad.kt */
public final class Quad<A, B, C, D> {
private final A first;
private final D fourth;
private final B second;
private final C third;
public Quad(A a, B b, C c2, D d) {
this.first = a;
this.second = b;
this.third = c2;
this.fourth = d;
}
/* JADX DEBUG: Multi-variable search result rejected for r0v0, resolved type: com.discord.utilities.Quad */
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ Quad copy$default(Quad quad, Object obj, Object obj2, Object obj3, Object obj4, int i, Object obj5) {
if ((i & 1) != 0) {
obj = quad.first;
}
if ((i & 2) != 0) {
obj2 = quad.second;
}
if ((i & 4) != 0) {
obj3 = quad.third;
}
if ((i & 8) != 0) {
obj4 = quad.fourth;
}
return quad.copy(obj, obj2, obj3, obj4);
}
public final A component1() {
return this.first;
}
public final B component2() {
return this.second;
}
public final C component3() {
return this.third;
}
public final D component4() {
return this.fourth;
}
public final Quad<A, B, C, D> copy(A a, B b, C c2, D d) {
return new Quad<>(a, b, c2, d);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof Quad)) {
return false;
}
Quad quad = (Quad) obj;
return m.areEqual(this.first, quad.first) && m.areEqual(this.second, quad.second) && m.areEqual(this.third, quad.third) && m.areEqual(this.fourth, quad.fourth);
}
public final A getFirst() {
return this.first;
}
public final D getFourth() {
return this.fourth;
}
public final B getSecond() {
return this.second;
}
public final C getThird() {
return this.third;
}
public int hashCode() {
A a = this.first;
int i = 0;
int hashCode = (a != null ? a.hashCode() : 0) * 31;
B b = this.second;
int hashCode2 = (hashCode + (b != null ? b.hashCode() : 0)) * 31;
C c2 = this.third;
int hashCode3 = (hashCode2 + (c2 != null ? c2.hashCode() : 0)) * 31;
D d = this.fourth;
if (d != null) {
i = d.hashCode();
}
return hashCode3 + i;
}
public String toString() {
StringBuilder H = a.H('(');
H.append((Object) this.first);
H.append(", ");
H.append((Object) this.second);
H.append(", ");
H.append((Object) this.third);
H.append(", ");
H.append((Object) this.fourth);
H.append(')');
return H.toString();
}
}