package o; import android.graphics.Rect; /* loaded from: classes.dex */ public final class nPm { public final int a; public final int c; public final int d; public final int e; private nPm(int i, int i2, int i3, int i4) { this.d = i; this.c = i2; this.e = i3; this.a = i4; } /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */ public nPm(Rect rect) { this(rect.left, rect.top, rect.right, rect.bottom); C14957gcv.e(rect, ""); } public final String toString() { StringBuilder sb = new StringBuilder("Bounds { ["); sb.append(this.d); sb.append(','); sb.append(this.c); sb.append(','); sb.append(this.e); sb.append(','); sb.append(this.a); sb.append("] }"); return sb.toString(); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!C14957gcv.b(getClass(), obj == null ? null : obj.getClass())) { return false; } if (obj != null) { nPm npm = (nPm) obj; return this.d == npm.d && this.c == npm.c && this.e == npm.e && this.a == npm.a; } throw new NullPointerException("null cannot be cast to non-null type androidx.window.core.Bounds"); } public final int hashCode() { return (((((this.d * 31) + this.c) * 31) + this.e) * 31) + this.a; } }