2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/utilities/channel/ChannelUtils$getSortedCategories$sortedCategories$1;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ChannelUtils.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/util/Comparator;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/utilities/channel/ChannelUtils;->getSortedCategories(Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Ljava/util/Comparator<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Ljava/lang/Long;",
|
|
|
|
">;"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $channelComparator:Ljava/util/Comparator;
|
|
|
|
|
|
|
|
.field public final synthetic $guildChannels:Ljava/util/Map;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Ljava/util/Comparator;Ljava/util/Map;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/utilities/channel/ChannelUtils$getSortedCategories$sortedCategories$1;->$channelComparator:Ljava/util/Comparator;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/utilities/channel/ChannelUtils$getSortedCategories$sortedCategories$1;->$guildChannels:Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final compare(Ljava/lang/Long;Ljava/lang/Long;)I
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/channel/ChannelUtils$getSortedCategories$sortedCategories$1;->$channelComparator:Ljava/util/Comparator;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/utilities/channel/ChannelUtils$getSortedCategories$sortedCategories$1;->$guildChannels:Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-interface {v1, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/utilities/channel/ChannelUtils$getSortedCategories$sortedCategories$1;->$guildChannels:Ljava/util/Map;
|
|
|
|
|
|
|
|
invoke-interface {v1, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-interface {v0, p1, p2}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/Long;
|
|
|
|
|
|
|
|
check-cast p2, Ljava/lang/Long;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/discord/utilities/channel/ChannelUtils$getSortedCategories$sortedCategories$1;->compare(Ljava/lang/Long;Ljava/lang/Long;)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|