discord-jadx/app/src/main/java/com/discord/widgets/chat/list/entries/SpacerEntry.java

60 lines
1.8 KiB
Java

package com.discord.widgets.chat.list.entries;
import a0.a.a.b;
import c.d.b.a.a;
/* compiled from: SpacerEntry.kt */
public final class SpacerEntry extends ChatListEntry {
private final long channelId;
private final String key;
private final int type = 7;
/* JADX DEBUG: TODO: convert one arg to string using `String.valueOf()`, args: [(wrap: int : 0x000d: INVOKE (r1v0 int) = (r2v0 'this' com.discord.widgets.chat.list.entries.SpacerEntry A[IMMUTABLE_TYPE, THIS]) type: VIRTUAL call: com.discord.widgets.chat.list.entries.SpacerEntry.getType():int), (r3v0 long)] */
public SpacerEntry(long j) {
this.channelId = j;
StringBuilder sb = new StringBuilder();
sb.append(getType());
sb.append(j);
this.key = sb.toString();
}
private final long component1() {
return this.channelId;
}
public static /* synthetic */ SpacerEntry copy$default(SpacerEntry spacerEntry, long j, int i, Object obj) {
if ((i & 1) != 0) {
j = spacerEntry.channelId;
}
return spacerEntry.copy(j);
}
public final SpacerEntry copy(long j) {
return new SpacerEntry(j);
}
public boolean equals(Object obj) {
if (this != obj) {
return (obj instanceof SpacerEntry) && this.channelId == ((SpacerEntry) obj).channelId;
}
return true;
}
@Override // com.discord.utilities.mg_recycler.MGRecyclerDataPayload, com.discord.utilities.recycler.DiffKeyProvider
public String getKey() {
return this.key;
}
@Override // com.discord.utilities.mg_recycler.MGRecyclerDataPayload
public int getType() {
return this.type;
}
public int hashCode() {
return b.a(this.channelId);
}
public String toString() {
return a.A(a.L("SpacerEntry(channelId="), this.channelId, ")");
}
}