41 lines
875 B
Java
41 lines
875 B
Java
package com.shockwave.pdfium.util;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public class Size {
|
|
public final int a;
|
|
public final int e;
|
|
|
|
public Size(int i, int i2) {
|
|
this.e = i;
|
|
this.a = i2;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (obj == null) {
|
|
return false;
|
|
}
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof Size)) {
|
|
return false;
|
|
}
|
|
Size size = (Size) obj;
|
|
return this.e == size.e && this.a == size.a;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(this.e);
|
|
sb.append("x");
|
|
sb.append(this.a);
|
|
return sb.toString();
|
|
}
|
|
|
|
public int hashCode() {
|
|
int i = this.a;
|
|
int i2 = this.e;
|
|
return i ^ ((i2 << 16) | (i2 >>> 16));
|
|
}
|
|
}
|