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

125 lines
2.9 KiB
Smali

.class final Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1$2;
.super Ljava/lang/Object;
.source "StoreVoiceParticipants.kt"
# interfaces
.implements Lrx/functions/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1;->call(Ljava/lang/Long;)Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/b<",
"TT;TR;>;"
}
.end annotation
# instance fields
.field final synthetic $meId:Ljava/lang/Long;
# direct methods
.method constructor <init>(Ljava/lang/Long;)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1$2;->$meId:Ljava/lang/Long;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/util/Set;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1$2;->call(Ljava/util/Set;)Ljava/util/List;
move-result-object p1
return-object p1
.end method
.method public final call(Ljava/util/Set;)Ljava/util/List;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Set<",
"Ljava/lang/Long;",
">;)",
"Ljava/util/List<",
"Ljava/lang/Long;",
">;"
}
.end annotation
const-string v0, "memberIds"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p1, Ljava/lang/Iterable;
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
check-cast v0, Ljava/util/Collection;
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
:cond_0
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
move-object v2, v1
check-cast v2, Ljava/lang/Long;
iget-object v3, p0, Lcom/discord/stores/StoreVoiceParticipants$getOtherUsers$1$2;->$meId:Ljava/lang/Long;
invoke-static {v2, v3}, Lkotlin/jvm/internal/j;->n(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_0
invoke-interface {v0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_1
check-cast v0, Ljava/util/List;
return-object v0
.end method