package com.discord.utilities.textprocessing; import c.d.b.a.a; import d0.z.d.m; import java.util.Set; /* compiled from: TagsBuilder.kt */ public final class Tags { private final Set channels; private final boolean isEmpty; private final Set roles; private final Set users; public Tags(Set set, Set set2, Set set3) { m.checkNotNullParameter(set, "users"); m.checkNotNullParameter(set2, "channels"); m.checkNotNullParameter(set3, "roles"); this.users = set; this.channels = set2; this.roles = set3; this.isEmpty = set.isEmpty() && set3.isEmpty() && set2.isEmpty(); } /* JADX DEBUG: Multi-variable search result rejected for r0v0, resolved type: com.discord.utilities.textprocessing.Tags */ /* JADX WARN: Multi-variable type inference failed */ public static /* synthetic */ Tags copy$default(Tags tags, Set set, Set set2, Set set3, int i, Object obj) { if ((i & 1) != 0) { set = tags.users; } if ((i & 2) != 0) { set2 = tags.channels; } if ((i & 4) != 0) { set3 = tags.roles; } return tags.copy(set, set2, set3); } public final Set component1() { return this.users; } public final Set component2() { return this.channels; } public final Set component3() { return this.roles; } public final Tags copy(Set set, Set set2, Set set3) { m.checkNotNullParameter(set, "users"); m.checkNotNullParameter(set2, "channels"); m.checkNotNullParameter(set3, "roles"); return new Tags(set, set2, set3); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof Tags)) { return false; } Tags tags = (Tags) obj; return m.areEqual(this.users, tags.users) && m.areEqual(this.channels, tags.channels) && m.areEqual(this.roles, tags.roles); } public final Set getChannels() { return this.channels; } public final Set getRoles() { return this.roles; } public final Set getUsers() { return this.users; } public int hashCode() { Set set = this.users; int i = 0; int hashCode = (set != null ? set.hashCode() : 0) * 31; Set set2 = this.channels; int hashCode2 = (hashCode + (set2 != null ? set2.hashCode() : 0)) * 31; Set set3 = this.roles; if (set3 != null) { i = set3.hashCode(); } return hashCode2 + i; } public final boolean isEmpty() { return this.isEmpty; } public String toString() { StringBuilder K = a.K("Tags(users="); K.append(this.users); K.append(", channels="); K.append(this.channels); K.append(", roles="); K.append(this.roles); K.append(")"); return K.toString(); } }