53 lines
1.2 KiB
Java
53 lines
1.2 KiB
Java
package c.o.a.x;
|
|
|
|
import androidx.annotation.NonNull;
|
|
/* compiled from: Size */
|
|
public class b implements Comparable<b> {
|
|
public final int i;
|
|
public final int j;
|
|
|
|
public b(int i, int i2) {
|
|
this.i = i;
|
|
this.j = i2;
|
|
}
|
|
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
@Override // java.lang.Comparable
|
|
public int compareTo(@NonNull b bVar) {
|
|
b bVar2 = bVar;
|
|
return (this.i * this.j) - (bVar2.i * bVar2.j);
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public boolean equals(Object obj) {
|
|
if (obj == null) {
|
|
return false;
|
|
}
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof b)) {
|
|
return false;
|
|
}
|
|
b bVar = (b) obj;
|
|
return this.i == bVar.i && this.j == bVar.j;
|
|
}
|
|
|
|
public b f() {
|
|
return new b(this.j, this.i);
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public int hashCode() {
|
|
int i = this.j;
|
|
int i2 = this.i;
|
|
return i ^ ((i2 >>> 16) | (i2 << 16));
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
@NonNull
|
|
public String toString() {
|
|
return this.i + "x" + this.j;
|
|
}
|
|
}
|