package io.reactivex.schedulers; import io.reactivex.internal.functions.ObjectHelper; import java.util.concurrent.TimeUnit; /* loaded from: classes2.dex */ public final class Timed { final T a; final long b; final TimeUnit c; public Timed(T t, long j, TimeUnit timeUnit) { this.a = t; this.b = j; ObjectHelper.a(timeUnit, "unit is null"); this.c = timeUnit; } public long a() { return this.b; } public T b() { return this.a; } public boolean equals(Object obj) { if (!(obj instanceof Timed)) { return false; } Timed timed = (Timed) obj; return ObjectHelper.a(this.a, timed.a) && this.b == timed.b && ObjectHelper.a(this.c, timed.c); } public int hashCode() { T t = this.a; int hashCode = t != null ? t.hashCode() : 0; long j = this.b; return (((hashCode * 31) + ((int) (j ^ (j >>> 31)))) * 31) + this.c.hashCode(); } public String toString() { return "Timed[time=" + this.b + ", unit=" + this.c + ", value=" + this.a + "]"; } }