what-the-bank/sources/o/C13421fZx.java

44 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Objects;
import java.util.concurrent.TimeUnit;
/* renamed from: o.fZx, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C13421fZx<T> {
private TimeUnit a;
public final long d;
public final T e;
public C13421fZx(T t, long j, TimeUnit timeUnit) {
this.e = (T) Objects.requireNonNull(t, "value is null");
this.d = j;
this.a = (TimeUnit) Objects.requireNonNull(timeUnit, "unit is null");
}
public final boolean equals(Object obj) {
if (!(obj instanceof C13421fZx)) {
return false;
}
C13421fZx c13421fZx = (C13421fZx) obj;
return Objects.equals(this.e, c13421fZx.e) && this.d == c13421fZx.d && Objects.equals(this.a, c13421fZx.a);
}
public final int hashCode() {
int hashCode = this.e.hashCode();
long j = this.d;
return (((hashCode * 31) + ((int) (j ^ (j >>> 31)))) * 31) + this.a.hashCode();
}
public final String toString() {
StringBuilder sb = new StringBuilder("Timed[time=");
sb.append(this.d);
sb.append(", unit=");
sb.append(this.a);
sb.append(", value=");
sb.append(this.e);
sb.append("]");
return sb.toString();
}
}