o2$a.smali
.class public final Lio/reactivex/internal/operators/observable/o2$a;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "SourceFile"
# interfaces
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/observable/o2;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Ljava/lang/Object;",
">;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0xf44f24fda471418L
# instance fields
.field public final a:Lio/reactivex/s;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/s<",
"-TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lio/reactivex/s;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/s<",
"-TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/o2$a;->a:Lio/reactivex/s;
return-void
.end method
# virtual methods
.method public final dispose()V
.registers 2
.line 1
invoke-virtual {p0, p0}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_d
if-eq v0, p0, :cond_d
.line 2
check-cast v0, Lio/reactivex/internal/operators/observable/o2$b;
invoke-virtual {v0, p0}, Lio/reactivex/internal/operators/observable/o2$b;->a(Lio/reactivex/internal/operators/observable/o2$a;)V
:cond_d
return-void
.end method
.method public final isDisposed()Z
.registers 2
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
if-ne v0, p0, :cond_8
const/4 v0, 0x1
goto :goto_9
:cond_8
const/4 v0, 0x0
:goto_9
return v0
.end method