discord-jadx/app/src/main/java/co/discord/media_engine/Resolution.java

67 lines
1.6 KiB
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
package co.discord.media_engine;
2021-12-21 23:37:30 +00:00
import b.d.b.a.a;
2021-06-27 20:44:35 +00:00
/* compiled from: Statistics.kt */
2022-03-02 20:59:20 +00:00
/* loaded from: classes.dex */
2021-06-27 20:44:35 +00:00
public final class Resolution {
private final int height;
private final int width;
public Resolution(int i, int i2) {
this.width = i;
this.height = i2;
}
public static /* synthetic */ Resolution copy$default(Resolution resolution, int i, int i2, int i3, Object obj) {
if ((i3 & 1) != 0) {
i = resolution.width;
}
if ((i3 & 2) != 0) {
i2 = resolution.height;
}
return resolution.copy(i, i2);
}
public final int component1() {
return this.width;
}
public final int component2() {
return this.height;
}
public final Resolution copy(int i, int i2) {
return new Resolution(i, i2);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof Resolution)) {
return false;
}
Resolution resolution = (Resolution) obj;
return this.width == resolution.width && this.height == resolution.height;
}
public final int getHeight() {
return this.height;
}
public final int getWidth() {
return this.width;
}
public int hashCode() {
return (this.width * 31) + this.height;
}
public String toString() {
2022-03-30 16:43:10 +00:00
StringBuilder R = a.R("Resolution(width=");
R.append(this.width);
R.append(", height=");
return a.A(R, this.height, ")");
2021-06-27 20:44:35 +00:00
}
}