Functions$ToMapKeySelector.smali 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. .class final Lio/reactivex/internal/functions/Functions$ToMapKeySelector;
  2. .super Ljava/lang/Object;
  3. .source "Functions.java"
  4. # interfaces
  5. .implements Lio/reactivex/functions/BiConsumer;
  6. # annotations
  7. .annotation system Ldalvik/annotation/EnclosingClass;
  8. value = Lio/reactivex/internal/functions/Functions;
  9. .end annotation
  10. .annotation system Ldalvik/annotation/InnerClass;
  11. accessFlags = 0x18
  12. name = "ToMapKeySelector"
  13. .end annotation
  14. .annotation system Ldalvik/annotation/Signature;
  15. value = {
  16. "<K:",
  17. "Ljava/lang/Object;",
  18. "T:",
  19. "Ljava/lang/Object;",
  20. ">",
  21. "Ljava/lang/Object;",
  22. "Lio/reactivex/functions/BiConsumer<",
  23. "Ljava/util/Map<",
  24. "TK;TT;>;TT;>;"
  25. }
  26. .end annotation
  27. # instance fields
  28. .field private final keySelector:Lio/reactivex/functions/Function;
  29. .annotation system Ldalvik/annotation/Signature;
  30. value = {
  31. "Lio/reactivex/functions/Function<",
  32. "-TT;+TK;>;"
  33. }
  34. .end annotation
  35. .end field
  36. # direct methods
  37. .method constructor <init>(Lio/reactivex/functions/Function;)V
  38. .locals 0
  39. .annotation system Ldalvik/annotation/Signature;
  40. value = {
  41. "(",
  42. "Lio/reactivex/functions/Function<",
  43. "-TT;+TK;>;)V"
  44. }
  45. .end annotation
  46. .line 537
  47. invoke-direct {p0}, Ljava/lang/Object;-><init>()V
  48. .line 538
  49. iput-object p1, p0, Lio/reactivex/internal/functions/Functions$ToMapKeySelector;->keySelector:Lio/reactivex/functions/Function;
  50. return-void
  51. .end method
  52. # virtual methods
  53. .method public bridge synthetic accept(Ljava/lang/Object;Ljava/lang/Object;)V
  54. .locals 0
  55. .annotation system Ldalvik/annotation/Throws;
  56. value = {
  57. Ljava/lang/Exception;
  58. }
  59. .end annotation
  60. .line 534
  61. check-cast p1, Ljava/util/Map;
  62. invoke-virtual {p0, p1, p2}, Lio/reactivex/internal/functions/Functions$ToMapKeySelector;->accept(Ljava/util/Map;Ljava/lang/Object;)V
  63. return-void
  64. .end method
  65. .method public accept(Ljava/util/Map;Ljava/lang/Object;)V
  66. .locals 1
  67. .annotation system Ldalvik/annotation/Signature;
  68. value = {
  69. "(",
  70. "Ljava/util/Map<",
  71. "TK;TT;>;TT;)V"
  72. }
  73. .end annotation
  74. .annotation system Ldalvik/annotation/Throws;
  75. value = {
  76. Ljava/lang/Exception;
  77. }
  78. .end annotation
  79. .line 543
  80. iget-object v0, p0, Lio/reactivex/internal/functions/Functions$ToMapKeySelector;->keySelector:Lio/reactivex/functions/Function;
  81. invoke-interface {v0, p2}, Lio/reactivex/functions/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object;
  82. move-result-object v0
  83. .line 544
  84. invoke-interface {p1, v0, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  85. return-void
  86. .end method