44 lines
1.1 KiB
Java
44 lines
1.1 KiB
Java
package com.airbnb.lottie.model;
|
|
|
|
import com.airbnb.deeplinkdispatch.UrlTreeKt;
|
|
import o.uOF;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class MutablePair<T> {
|
|
T first;
|
|
T second;
|
|
|
|
public boolean equals(Object obj) {
|
|
if (!(obj instanceof uOF)) {
|
|
return false;
|
|
}
|
|
uOF uof = (uOF) obj;
|
|
return objectsEqual(uof.d, this.first) && objectsEqual(uof.b, this.second);
|
|
}
|
|
|
|
private static boolean objectsEqual(Object obj, Object obj2) {
|
|
return obj == obj2 || (obj != null && obj.equals(obj2));
|
|
}
|
|
|
|
public int hashCode() {
|
|
T t = this.first;
|
|
int hashCode = t == null ? 0 : t.hashCode();
|
|
T t2 = this.second;
|
|
return hashCode ^ (t2 != null ? t2.hashCode() : 0);
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder("Pair{");
|
|
sb.append(this.first);
|
|
sb.append(" ");
|
|
sb.append(this.second);
|
|
sb.append(UrlTreeKt.componentParamSuffix);
|
|
return sb.toString();
|
|
}
|
|
|
|
public void set(T t, T t2) {
|
|
this.first = t;
|
|
this.second = t2;
|
|
}
|
|
}
|