LinkedTreeMap$KeySet.smali 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. .class final Lcom/google/gson/internal/LinkedTreeMap$KeySet;
  2. .super Ljava/util/AbstractSet;
  3. .source ""
  4. # annotations
  5. .annotation system Ldalvik/annotation/EnclosingClass;
  6. value = Lcom/google/gson/internal/LinkedTreeMap;
  7. .end annotation
  8. .annotation system Ldalvik/annotation/InnerClass;
  9. accessFlags = 0x10
  10. name = "KeySet"
  11. .end annotation
  12. .annotation system Ldalvik/annotation/Signature;
  13. value = {
  14. "Ljava/util/AbstractSet<",
  15. "TK;>;"
  16. }
  17. .end annotation
  18. # instance fields
  19. .field final synthetic this$0:Lcom/google/gson/internal/LinkedTreeMap;
  20. # direct methods
  21. .method constructor <init>(Lcom/google/gson/internal/LinkedTreeMap;)V
  22. .locals 0
  23. iput-object p1, p0, Lcom/google/gson/internal/LinkedTreeMap$KeySet;->this$0:Lcom/google/gson/internal/LinkedTreeMap;
  24. invoke-direct {p0}, Ljava/util/AbstractSet;-><init>()V
  25. return-void
  26. .end method
  27. # virtual methods
  28. .method public clear()V
  29. .locals 1
  30. iget-object v0, p0, Lcom/google/gson/internal/LinkedTreeMap$KeySet;->this$0:Lcom/google/gson/internal/LinkedTreeMap;
  31. invoke-virtual {v0}, Lcom/google/gson/internal/LinkedTreeMap;->clear()V
  32. return-void
  33. .end method
  34. .method public contains(Ljava/lang/Object;)Z
  35. .locals 1
  36. iget-object v0, p0, Lcom/google/gson/internal/LinkedTreeMap$KeySet;->this$0:Lcom/google/gson/internal/LinkedTreeMap;
  37. invoke-virtual {v0, p1}, Lcom/google/gson/internal/LinkedTreeMap;->containsKey(Ljava/lang/Object;)Z
  38. move-result p1
  39. return p1
  40. .end method
  41. .method public iterator()Ljava/util/Iterator;
  42. .locals 1
  43. .annotation system Ldalvik/annotation/Signature;
  44. value = {
  45. "()",
  46. "Ljava/util/Iterator<",
  47. "TK;>;"
  48. }
  49. .end annotation
  50. new-instance v0, Lcom/google/gson/internal/LinkedTreeMap$KeySet$1;
  51. invoke-direct {v0, p0}, Lcom/google/gson/internal/LinkedTreeMap$KeySet$1;-><init>(Lcom/google/gson/internal/LinkedTreeMap$KeySet;)V
  52. return-object v0
  53. .end method
  54. .method public remove(Ljava/lang/Object;)Z
  55. .locals 1
  56. iget-object v0, p0, Lcom/google/gson/internal/LinkedTreeMap$KeySet;->this$0:Lcom/google/gson/internal/LinkedTreeMap;
  57. invoke-virtual {v0, p1}, Lcom/google/gson/internal/LinkedTreeMap;->removeInternalByKey(Ljava/lang/Object;)Lcom/google/gson/internal/LinkedTreeMap$Node;
  58. move-result-object p1
  59. if-eqz p1, :cond_0
  60. const/4 p1, 0x1
  61. goto :goto_0
  62. :cond_0
  63. const/4 p1, 0x0
  64. :goto_0
  65. return p1
  66. .end method
  67. .method public size()I
  68. .locals 1
  69. iget-object v0, p0, Lcom/google/gson/internal/LinkedTreeMap$KeySet;->this$0:Lcom/google/gson/internal/LinkedTreeMap;
  70. iget v0, v0, Lcom/google/gson/internal/LinkedTreeMap;->size:I
  71. return v0
  72. .end method