apkfuckery/com.discord/smali/com/discord/stores/StoreVoiceParticipants$getS...

133 lines
3.1 KiB
Smali

.class public final Lcom/discord/stores/StoreVoiceParticipants$getStreamContextsForUsers$1;
.super Ljava/lang/Object;
.source "StoreVoiceParticipants.kt"
# interfaces
.implements Lrx/functions/FuncN;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreVoiceParticipants;->getStreamContextsForUsers(Ljava/util/List;)Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/FuncN<",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/utilities/streams/StreamContext;",
">;>;"
}
.end annotation
# instance fields
.field public final synthetic $userIds:Ljava/util/List;
# direct methods
.method public constructor <init>(Ljava/util/List;)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreVoiceParticipants$getStreamContextsForUsers$1;->$userIds:Ljava/util/List;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic call([Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreVoiceParticipants$getStreamContextsForUsers$1;->call([Ljava/lang/Object;)Ljava/util/Map;
move-result-object p1
return-object p1
.end method
.method public final call([Ljava/lang/Object;)Ljava/util/Map;
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/utilities/streams/StreamContext;",
">;"
}
.end annotation
new-instance v0, Ljava/util/LinkedHashMap;
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
iget-object v1, p0, Lcom/discord/stores/StoreVoiceParticipants$getStreamContextsForUsers$1;->$userIds:Ljava/util/List;
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v1
const/4 v2, 0x0
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_1
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
add-int/lit8 v4, v2, 0x1
if-ltz v2, :cond_0
check-cast v3, Ljava/lang/Number;
invoke-virtual {v3}, Ljava/lang/Number;->longValue()J
move-result-wide v5
invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v3
aget-object v2, p1, v2
check-cast v2, Lcom/discord/utilities/streams/StreamContext;
invoke-interface {v0, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move v2, v4
goto :goto_0
:cond_0
invoke-static {}, Lf/h/a/f/e/n/f;->throwIndexOverflow()V
const/4 p1, 0x0
throw p1
:cond_1
return-object v0
.end method