134 lines
3.6 KiB
Smali
134 lines
3.6 KiB
Smali
.class public final Lcom/discord/models/experiments/dto/UnauthenticatedUserExperimentsDto$experimentsByNameHash$2;
|
|
.super Lk0/n/c/j;
|
|
.source "UnauthenticatedUserExperimentsDto.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/models/experiments/dto/UnauthenticatedUserExperimentsDto;-><init>(Ljava/lang/String;Ljava/util/List;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lk0/n/c/j;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Long;",
|
|
"+",
|
|
"Lcom/discord/models/experiments/dto/UserExperimentDto;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/discord/models/experiments/dto/UnauthenticatedUserExperimentsDto;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/models/experiments/dto/UnauthenticatedUserExperimentsDto;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/models/experiments/dto/UnauthenticatedUserExperimentsDto$experimentsByNameHash$2;->this$0:Lcom/discord/models/experiments/dto/UnauthenticatedUserExperimentsDto;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lk0/n/c/j;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/models/experiments/dto/UnauthenticatedUserExperimentsDto$experimentsByNameHash$2;->invoke()Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final invoke()Ljava/util/Map;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Long;",
|
|
"Lcom/discord/models/experiments/dto/UserExperimentDto;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/models/experiments/dto/UnauthenticatedUserExperimentsDto$experimentsByNameHash$2;->this$0:Lcom/discord/models/experiments/dto/UnauthenticatedUserExperimentsDto;
|
|
|
|
invoke-static {v0}, Lcom/discord/models/experiments/dto/UnauthenticatedUserExperimentsDto;->access$getAssignments$p(Lcom/discord/models/experiments/dto/UnauthenticatedUserExperimentsDto;)Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
const/16 v1, 0xa
|
|
|
|
invoke-static {v0, v1}, Lf/h/a/f/e/n/f;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
|
|
|
move-result v1
|
|
|
|
invoke-static {v1}, Lf/h/a/f/e/n/f;->mapCapacity(I)I
|
|
|
|
move-result v1
|
|
|
|
const/16 v2, 0x10
|
|
|
|
if-ge v1, v2, :cond_0
|
|
|
|
const/16 v1, 0x10
|
|
|
|
:cond_0
|
|
new-instance v2, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {v2, v1}, Ljava/util/LinkedHashMap;-><init>(I)V
|
|
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
move-object v3, v1
|
|
|
|
check-cast v3, Lcom/discord/models/experiments/dto/UserExperimentDto;
|
|
|
|
invoke-virtual {v3}, Lcom/discord/models/experiments/dto/UserExperimentDto;->getNameHash()J
|
|
|
|
move-result-wide v3
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v2, v3, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-object v2
|
|
.end method
|