70 lines
2.6 KiB
Java
70 lines
2.6 KiB
Java
package c.f.j.c;
|
|
|
|
import c.f.j.d.e;
|
|
import c.f.j.d.f;
|
|
import com.airbnb.lottie.parser.AnimatableValueParser;
|
|
import com.facebook.cache.common.CacheKey;
|
|
import com.facebook.common.time.RealtimeSinceBootClock;
|
|
import java.util.Objects;
|
|
/* compiled from: BitmapMemoryCacheKey */
|
|
public class b implements CacheKey {
|
|
public final String a;
|
|
public final e b;
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public final f f421c;
|
|
public final c.f.j.d.b d;
|
|
public final CacheKey e;
|
|
public final String f;
|
|
public final int g;
|
|
public final Object h;
|
|
|
|
public b(String str, e eVar, f fVar, c.f.j.d.b bVar, CacheKey cacheKey, String str2, Object obj) {
|
|
Objects.requireNonNull(str);
|
|
this.a = str;
|
|
this.b = eVar;
|
|
this.f421c = fVar;
|
|
this.d = bVar;
|
|
this.e = cacheKey;
|
|
this.f = str2;
|
|
Integer valueOf = Integer.valueOf(str.hashCode());
|
|
int i = 0;
|
|
Integer valueOf2 = Integer.valueOf(eVar != null ? eVar.hashCode() : 0);
|
|
Integer valueOf3 = Integer.valueOf(fVar.hashCode());
|
|
int hashCode = valueOf == null ? 0 : valueOf.hashCode();
|
|
int hashCode2 = valueOf2 == null ? 0 : valueOf2.hashCode();
|
|
int hashCode3 = valueOf3 == null ? 0 : valueOf3.hashCode();
|
|
int hashCode4 = bVar == null ? 0 : bVar.hashCode();
|
|
this.g = ((((((((((hashCode + 31) * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + (cacheKey == null ? 0 : cacheKey.hashCode())) * 31) + (str2 != null ? str2.hashCode() : i);
|
|
this.h = obj;
|
|
RealtimeSinceBootClock.get().now();
|
|
}
|
|
|
|
@Override // com.facebook.cache.common.CacheKey
|
|
public boolean a() {
|
|
return false;
|
|
}
|
|
|
|
@Override // com.facebook.cache.common.CacheKey
|
|
public String b() {
|
|
return this.a;
|
|
}
|
|
|
|
@Override // com.facebook.cache.common.CacheKey
|
|
public boolean equals(Object obj) {
|
|
if (!(obj instanceof b)) {
|
|
return false;
|
|
}
|
|
b bVar = (b) obj;
|
|
return this.g == bVar.g && this.a.equals(bVar.a) && AnimatableValueParser.i0(this.b, bVar.b) && AnimatableValueParser.i0(this.f421c, bVar.f421c) && AnimatableValueParser.i0(this.d, bVar.d) && AnimatableValueParser.i0(this.e, bVar.e) && AnimatableValueParser.i0(this.f, bVar.f);
|
|
}
|
|
|
|
@Override // com.facebook.cache.common.CacheKey
|
|
public int hashCode() {
|
|
return this.g;
|
|
}
|
|
|
|
public String toString() {
|
|
return String.format(null, "%s_%s_%s_%s_%s_%s_%d", this.a, this.b, this.f421c, this.d, this.e, this.f, Integer.valueOf(this.g));
|
|
}
|
|
}
|