DisposeOnCancel.smali 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .class final Lio/reactivex/internal/schedulers/DisposeOnCancel;
  2. .super Ljava/lang/Object;
  3. .source "DisposeOnCancel.java"
  4. # interfaces
  5. .implements Ljava/util/concurrent/Future;
  6. # annotations
  7. .annotation system Ldalvik/annotation/Signature;
  8. value = {
  9. "Ljava/lang/Object;",
  10. "Ljava/util/concurrent/Future<",
  11. "Ljava/lang/Object;",
  12. ">;"
  13. }
  14. .end annotation
  15. # instance fields
  16. .field final d:Lio/reactivex/disposables/Disposable;
  17. # direct methods
  18. .method constructor <init>(Lio/reactivex/disposables/Disposable;)V
  19. .locals 0
  20. .line 27
  21. invoke-direct {p0}, Ljava/lang/Object;-><init>()V
  22. .line 28
  23. iput-object p1, p0, Lio/reactivex/internal/schedulers/DisposeOnCancel;->d:Lio/reactivex/disposables/Disposable;
  24. return-void
  25. .end method
  26. # virtual methods
  27. .method public cancel(Z)Z
  28. .locals 0
  29. .line 33
  30. iget-object p1, p0, Lio/reactivex/internal/schedulers/DisposeOnCancel;->d:Lio/reactivex/disposables/Disposable;
  31. invoke-interface {p1}, Lio/reactivex/disposables/Disposable;->dispose()V
  32. const/4 p1, 0x0
  33. return p1
  34. .end method
  35. .method public get()Ljava/lang/Object;
  36. .locals 1
  37. .annotation system Ldalvik/annotation/Throws;
  38. value = {
  39. Ljava/lang/InterruptedException;,
  40. Ljava/util/concurrent/ExecutionException;
  41. }
  42. .end annotation
  43. const/4 v0, 0x0
  44. return-object v0
  45. .end method
  46. .method public get(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
  47. .locals 0
  48. .annotation system Ldalvik/annotation/Throws;
  49. value = {
  50. Ljava/lang/InterruptedException;,
  51. Ljava/util/concurrent/ExecutionException;,
  52. Ljava/util/concurrent/TimeoutException;
  53. }
  54. .end annotation
  55. const/4 p1, 0x0
  56. return-object p1
  57. .end method
  58. .method public isCancelled()Z
  59. .locals 1
  60. const/4 v0, 0x0
  61. return v0
  62. .end method
  63. .method public isDone()Z
  64. .locals 1
  65. const/4 v0, 0x0
  66. return v0
  67. .end method