.class final Lcom/discord/stores/StoreUserRelationships$getPendingCount$1; .super Ljava/lang/Object; .source "StoreUserRelationships.kt" # interfaces .implements Lrx/functions/b; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/discord/stores/StoreUserRelationships;->getPendingCount()Lrx/Observable; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x18 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lrx/functions/b<", "TT;TR;>;" } .end annotation # static fields .field public static final INSTANCE:Lcom/discord/stores/StoreUserRelationships$getPendingCount$1; # direct methods .method static constructor ()V .locals 1 new-instance v0, Lcom/discord/stores/StoreUserRelationships$getPendingCount$1; invoke-direct {v0}, Lcom/discord/stores/StoreUserRelationships$getPendingCount$1;->()V sput-object v0, Lcom/discord/stores/StoreUserRelationships$getPendingCount$1;->INSTANCE:Lcom/discord/stores/StoreUserRelationships$getPendingCount$1; return-void .end method .method constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public final call(Ljava/util/Map;)I .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Map<", "Ljava/lang/Long;", "Ljava/lang/Integer;", ">;)I" } .end annotation const-string v0, "relationships" invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V invoke-interface {p1}, Ljava/util/Map;->isEmpty()Z move-result v0 const/4 v1, 0x0 if-eqz v0, :cond_0 return v1 :cond_0 invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set; move-result-object p1 invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator; move-result-object p1 const/4 v0, 0x0 :cond_1 :goto_0 invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result v2 if-eqz v2, :cond_3 invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v2 check-cast v2, Ljava/util/Map$Entry; invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v2 check-cast v2, Ljava/lang/Number; invoke-virtual {v2}, Ljava/lang/Number;->intValue()I move-result v2 const/4 v3, 0x3 if-ne v2, v3, :cond_2 const/4 v2, 0x1 goto :goto_1 :cond_2 const/4 v2, 0x0 :goto_1 if-eqz v2, :cond_1 add-int/lit8 v0, v0, 0x1 goto :goto_0 :cond_3 return v0 .end method .method public final synthetic call(Ljava/lang/Object;)Ljava/lang/Object; .locals 0 check-cast p1, Ljava/util/Map; invoke-virtual {p0, p1}, Lcom/discord/stores/StoreUserRelationships$getPendingCount$1;->call(Ljava/util/Map;)I move-result p1 invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p1 return-object p1 .end method