Files
rr3-apk/decompiled/sources/androidx/privacysandbox/ads/adservices/topics/Topic.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

46 lines
1.3 KiB
Java

package androidx.privacysandbox.ads.adservices.topics;
/* loaded from: classes.dex */
public final class Topic {
private final long modelVersion;
private final long taxonomyVersion;
private final int topicId;
public final long getModelVersion() {
return this.modelVersion;
}
public final long getTaxonomyVersion() {
return this.taxonomyVersion;
}
public final int getTopicId() {
return this.topicId;
}
public Topic(long j, long j2, int i) {
this.taxonomyVersion = j;
this.modelVersion = j2;
this.topicId = i;
}
public String toString() {
return "Topic { " + ("TaxonomyVersion=" + this.taxonomyVersion + ", ModelVersion=" + this.modelVersion + ", TopicCode=" + this.topicId + " }");
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof Topic)) {
return false;
}
Topic topic = (Topic) obj;
return this.taxonomyVersion == topic.taxonomyVersion && this.modelVersion == topic.modelVersion && this.topicId == topic.topicId;
}
public int hashCode() {
return (((Long.hashCode(this.taxonomyVersion) * 31) + Long.hashCode(this.modelVersion)) * 31) + Integer.hashCode(this.topicId);
}
}