- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
43 lines
1.1 KiB
Java
43 lines
1.1 KiB
Java
package androidx.privacysandbox.ads.adservices.topics;
|
|
|
|
import java.util.HashSet;
|
|
import java.util.List;
|
|
import java.util.Objects;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class GetTopicsResponse {
|
|
private final List<Topic> topics;
|
|
|
|
public final List<Topic> getTopics() {
|
|
return this.topics;
|
|
}
|
|
|
|
public GetTopicsResponse(List<Topic> topics) {
|
|
Intrinsics.checkNotNullParameter(topics, "topics");
|
|
this.topics = topics;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof GetTopicsResponse)) {
|
|
return false;
|
|
}
|
|
GetTopicsResponse getTopicsResponse = (GetTopicsResponse) obj;
|
|
if (this.topics.size() != getTopicsResponse.topics.size()) {
|
|
return false;
|
|
}
|
|
return Intrinsics.areEqual(new HashSet(this.topics), new HashSet(getTopicsResponse.topics));
|
|
}
|
|
|
|
public int hashCode() {
|
|
return Objects.hash(this.topics);
|
|
}
|
|
|
|
public String toString() {
|
|
return "Topics=" + this.topics;
|
|
}
|
|
}
|