.class final Lcom/discord/stores/StoreMessageAck$ack$1$1; .super Ljava/lang/Object; # interfaces .implements Lrx/functions/b; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/discord/stores/StoreMessageAck$ack$1;->call(Lcom/discord/models/domain/ModelChannel;)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;", "Lrx/Observable<", "+TR;>;>;" } .end annotation # static fields .field public static final INSTANCE:Lcom/discord/stores/StoreMessageAck$ack$1$1; # direct methods .method static constructor ()V .locals 1 new-instance v0, Lcom/discord/stores/StoreMessageAck$ack$1$1; invoke-direct {v0}, Lcom/discord/stores/StoreMessageAck$ack$1$1;->()V sput-object v0, Lcom/discord/stores/StoreMessageAck$ack$1$1;->INSTANCE:Lcom/discord/stores/StoreMessageAck$ack$1$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 bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object; .locals 0 check-cast p1, Ljava/util/List; invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessageAck$ack$1$1;->call(Ljava/util/List;)Lrx/Observable; move-result-object p1 return-object p1 .end method .method public final call(Ljava/util/List;)Lrx/Observable; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "+", "Lcom/discord/models/domain/ModelChannel;", ">;)", "Lrx/Observable<", "Ljava/lang/Long;", ">;" } .end annotation const-string v0, "channels" 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; const/16 v1, 0xa invoke-static {p1, v1}, Lkotlin/a/l;->a(Ljava/lang/Iterable;I)I move-result v1 invoke-direct {v0, v1}, Ljava/util/ArrayList;->(I)V check-cast v0, Ljava/util/Collection; invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p1 :goto_0 invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_0 invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 check-cast v1, Lcom/discord/models/domain/ModelChannel; invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J move-result-wide v1 invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; move-result-object v1 invoke-interface {v0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z goto :goto_0 :cond_0 check-cast v0, Ljava/util/List; check-cast v0, Ljava/lang/Iterable; invoke-static {v0}, Lrx/Observable;->s(Ljava/lang/Iterable;)Lrx/Observable; move-result-object p1 return-object p1 .end method