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

66 lines
1.5 KiB
Java

package co.discord.media_engine;
import c.d.b.a.a;
/* compiled from: Statistics.kt */
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() {
StringBuilder L = a.L("Resolution(width=");
L.append(this.width);
L.append(", height=");
return a.y(L, this.height, ")");
}
}