26 lines
656 B
Java
26 lines
656 B
Java
package org.greenrobot.eventbus;
|
|
|
|
/* loaded from: classes2.dex */
|
|
final class Subscription {
|
|
final Object a;
|
|
final SubscriberMethod b;
|
|
volatile boolean c = true;
|
|
|
|
Subscription(Object obj, SubscriberMethod subscriberMethod) {
|
|
this.a = obj;
|
|
this.b = subscriberMethod;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (!(obj instanceof Subscription)) {
|
|
return false;
|
|
}
|
|
Subscription subscription = (Subscription) obj;
|
|
return this.a == subscription.a && this.b.equals(subscription.b);
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.a.hashCode() + this.b.f.hashCode();
|
|
}
|
|
}
|