Changes of com.discord v1144
This commit is contained in:
parent
3b0c33520d
commit
4746542b20
25752 changed files with 77 additions and 4382359 deletions
|
@ -1,161 +0,0 @@
|
|||
.class public final enum Lrx/Emitter$BackpressureMode;
|
||||
.super Ljava/lang/Enum;
|
||||
.source "Emitter.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/Emitter;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x4019
|
||||
name = "BackpressureMode"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Enum<",
|
||||
"Lrx/Emitter$BackpressureMode;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final enum d:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
.field public static final enum e:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
.field public static final enum f:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
.field public static final enum g:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
.field public static final enum h:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
.field public static final synthetic i:[Lrx/Emitter$BackpressureMode;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 7
|
||||
|
||||
new-instance v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const-string v2, "NONE"
|
||||
|
||||
invoke-direct {v0, v2, v1}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Lrx/Emitter$BackpressureMode;->d:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
new-instance v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const-string v3, "ERROR"
|
||||
|
||||
invoke-direct {v0, v3, v2}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Lrx/Emitter$BackpressureMode;->e:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
new-instance v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const/4 v3, 0x2
|
||||
|
||||
const-string v4, "BUFFER"
|
||||
|
||||
invoke-direct {v0, v4, v3}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Lrx/Emitter$BackpressureMode;->f:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
new-instance v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const/4 v4, 0x3
|
||||
|
||||
const-string v5, "DROP"
|
||||
|
||||
invoke-direct {v0, v5, v4}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Lrx/Emitter$BackpressureMode;->g:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
new-instance v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const/4 v5, 0x4
|
||||
|
||||
const-string v6, "LATEST"
|
||||
|
||||
invoke-direct {v0, v6, v5}, Lrx/Emitter$BackpressureMode;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Lrx/Emitter$BackpressureMode;->h:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
const/4 v0, 0x5
|
||||
|
||||
new-array v0, v0, [Lrx/Emitter$BackpressureMode;
|
||||
|
||||
sget-object v6, Lrx/Emitter$BackpressureMode;->d:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v6, v0, v1
|
||||
|
||||
sget-object v1, Lrx/Emitter$BackpressureMode;->e:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
sget-object v1, Lrx/Emitter$BackpressureMode;->f:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v1, v0, v3
|
||||
|
||||
sget-object v1, Lrx/Emitter$BackpressureMode;->g:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v1, v0, v4
|
||||
|
||||
sget-object v1, Lrx/Emitter$BackpressureMode;->h:Lrx/Emitter$BackpressureMode;
|
||||
|
||||
aput-object v1, v0, v5
|
||||
|
||||
sput-object v0, Lrx/Emitter$BackpressureMode;->i:[Lrx/Emitter$BackpressureMode;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/String;I)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static valueOf(Ljava/lang/String;)Lrx/Emitter$BackpressureMode;
|
||||
.locals 1
|
||||
|
||||
const-class v0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
check-cast p0, Lrx/Emitter$BackpressureMode;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static values()[Lrx/Emitter$BackpressureMode;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lrx/Emitter$BackpressureMode;->i:[Lrx/Emitter$BackpressureMode;
|
||||
|
||||
invoke-virtual {v0}, [Lrx/Emitter$BackpressureMode;->clone()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lrx/Emitter$BackpressureMode;
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,25 +0,0 @@
|
|||
.class public interface abstract Lrx/Emitter;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Emitter.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/g;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lrx/Emitter$BackpressureMode;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
|
@ -1,29 +0,0 @@
|
|||
.class public interface abstract Lrx/Observable$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Observable.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;>;"
|
||||
}
|
||||
.end annotation
|
|
@ -1,33 +0,0 @@
|
|||
.class public interface abstract Lrx/Observable$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Observable.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/i;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<R:",
|
||||
"Ljava/lang/Object;",
|
||||
"T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/i<",
|
||||
"Lrx/Subscriber<",
|
||||
"-TR;>;",
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;>;"
|
||||
}
|
||||
.end annotation
|
|
@ -1,33 +0,0 @@
|
|||
.class public interface abstract Lrx/Observable$c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Observable.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/i;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/Observable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "c"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/i<",
|
||||
"Lrx/Observable<",
|
||||
"TT;>;",
|
||||
"Lrx/Observable<",
|
||||
"TR;>;>;"
|
||||
}
|
||||
.end annotation
|
File diff suppressed because it is too large
Load diff
|
@ -1,8 +0,0 @@
|
|||
.class public interface abstract Lrx/Producer;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Producer.java"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a(J)V
|
||||
.end method
|
|
@ -1,55 +0,0 @@
|
|||
.class public abstract Lrx/Scheduler$Worker;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Scheduler.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Subscription;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/Scheduler;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x409
|
||||
name = "Worker"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()J
|
||||
.locals 2
|
||||
|
||||
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public abstract a(Lrx/functions/Action0;)Lrx/Subscription;
|
||||
.end method
|
||||
|
||||
.method public a(Lrx/functions/Action0;JJLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
|
||||
.locals 0
|
||||
|
||||
invoke-static/range {p0 .. p6}, Lg0/m/c/j;->a(Lrx/Scheduler$Worker;Lrx/functions/Action0;JJLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public abstract a(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
|
||||
.end method
|
|
@ -1,36 +0,0 @@
|
|||
.class public abstract Lrx/Scheduler;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Scheduler.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lrx/Scheduler$Worker;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a()Lrx/Scheduler$Worker;
|
||||
.end method
|
||||
|
||||
.method public b()J
|
||||
.locals 2
|
||||
|
||||
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
|
@ -1,318 +0,0 @@
|
|||
.class public abstract Lrx/Subscriber;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Subscriber.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/g;
|
||||
.implements Lrx/Subscription;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/g<",
|
||||
"TT;>;",
|
||||
"Lrx/Subscription;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final NOT_SET:J = -0x8000000000000000L
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public producer:Lrx/Producer;
|
||||
|
||||
.field public requested:J
|
||||
|
||||
.field public final subscriber:Lrx/Subscriber;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/Subscriber<",
|
||||
"*>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {p0, v0, v1}, Lrx/Subscriber;-><init>(Lrx/Subscriber;Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lrx/Subscriber;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Subscriber<",
|
||||
"*>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-direct {p0, p1, v0}, Lrx/Subscriber;-><init>(Lrx/Subscriber;Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lrx/Subscriber;Z)V
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Subscriber<",
|
||||
"*>;Z)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const-wide/high16 v0, -0x8000000000000000L
|
||||
|
||||
iput-wide v0, p0, Lrx/Subscriber;->requested:J
|
||||
|
||||
iput-object p1, p0, Lrx/Subscriber;->subscriber:Lrx/Subscriber;
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p1, Lrx/Subscriber;->subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Lrx/internal/util/SubscriptionList;
|
||||
|
||||
invoke-direct {p1}, Lrx/internal/util/SubscriptionList;-><init>()V
|
||||
|
||||
:goto_0
|
||||
iput-object p1, p0, Lrx/Subscriber;->subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private addToRequested(J)V
|
||||
.locals 5
|
||||
|
||||
iget-wide v0, p0, Lrx/Subscriber;->requested:J
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
iput-wide p1, p0, Lrx/Subscriber;->requested:J
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
add-long/2addr v0, p1
|
||||
|
||||
const-wide/16 p1, 0x0
|
||||
|
||||
cmp-long v2, v0, p1
|
||||
|
||||
if-gez v2, :cond_1
|
||||
|
||||
const-wide p1, 0x7fffffffffffffffL
|
||||
|
||||
iput-wide p1, p0, Lrx/Subscriber;->requested:J
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
iput-wide v0, p0, Lrx/Subscriber;->requested:J
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final add(Lrx/Subscription;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/Subscriber;->subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
invoke-virtual {v0, p1}, Lrx/internal/util/SubscriptionList;->a(Lrx/Subscription;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final isUnsubscribed()Z
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/Subscriber;->subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
invoke-virtual {v0}, Lrx/internal/util/SubscriptionList;->isUnsubscribed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public onStart()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final request(J)V
|
||||
.locals 3
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p1, v0
|
||||
|
||||
if-ltz v2, :cond_1
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lrx/Subscriber;->producer:Lrx/Producer;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/Subscriber;->producer:Lrx/Producer;
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-interface {v0, p1, p2}, Lrx/Producer;->a(J)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
:try_start_1
|
||||
invoke-direct {p0, p1, p2}, Lrx/Subscriber;->addToRequested(J)V
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v1, "number requested cannot be negative: "
|
||||
|
||||
invoke-static {v1, p1, p2}, Lf/e/b/a/a;->a(Ljava/lang/String;J)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public setProducer(Lrx/Producer;)V
|
||||
.locals 4
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-wide v0, p0, Lrx/Subscriber;->requested:J
|
||||
|
||||
iput-object p1, p0, Lrx/Subscriber;->producer:Lrx/Producer;
|
||||
|
||||
iget-object p1, p0, Lrx/Subscriber;->subscriber:Lrx/Subscriber;
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
cmp-long p1, v0, v2
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
iget-object p1, p0, Lrx/Subscriber;->subscriber:Lrx/Subscriber;
|
||||
|
||||
iget-object v0, p0, Lrx/Subscriber;->producer:Lrx/Producer;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Subscriber;->setProducer(Lrx/Producer;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
cmp-long p1, v0, v2
|
||||
|
||||
if-nez p1, :cond_2
|
||||
|
||||
iget-object p1, p0, Lrx/Subscriber;->producer:Lrx/Producer;
|
||||
|
||||
const-wide v0, 0x7fffffffffffffffL
|
||||
|
||||
invoke-interface {p1, v0, v1}, Lrx/Producer;->a(J)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
iget-object p1, p0, Lrx/Subscriber;->producer:Lrx/Producer;
|
||||
|
||||
invoke-interface {p1, v0, v1}, Lrx/Producer;->a(J)V
|
||||
|
||||
:goto_1
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
:try_start_1
|
||||
monitor-exit p0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final unsubscribe()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/Subscriber;->subscriptions:Lrx/internal/util/SubscriptionList;
|
||||
|
||||
invoke-virtual {v0}, Lrx/internal/util/SubscriptionList;->unsubscribe()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,11 +0,0 @@
|
|||
.class public interface abstract Lrx/Subscription;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Subscription.java"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract isUnsubscribed()Z
|
||||
.end method
|
||||
|
||||
.method public abstract unsubscribe()V
|
||||
.end method
|
|
@ -1,13 +0,0 @@
|
|||
.class public final Lrx/android/R;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,11 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Action0;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Action0.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/f;
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call()V
|
||||
.end method
|
|
@ -1,28 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Action1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Action1.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/f;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/f;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,30 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Action2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Action2.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/f;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/f;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;)V"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,32 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Action3;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Action3.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/f;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/f;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;)V"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,34 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Action4;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Action4.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/f;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/f;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;)V"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,13 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Cancellable;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Cancellable.java"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract cancel()V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/lang/Exception;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,31 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Func0;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func0.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
.implements Ljava/util/concurrent/Callable;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;",
|
||||
"Ljava/util/concurrent/Callable<",
|
||||
"TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call()Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,32 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Func2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func2.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,34 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Func3;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func3.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,36 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Func4;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func4.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,38 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Func5;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func5.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
"T5:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;TT5;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,40 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Func6;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func6.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
"T5:",
|
||||
"Ljava/lang/Object;",
|
||||
"T6:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;TT5;TT6;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,42 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Func7;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func7.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
"T5:",
|
||||
"Ljava/lang/Object;",
|
||||
"T6:",
|
||||
"Ljava/lang/Object;",
|
||||
"T7:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;TT5;TT6;TT7;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,44 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Func8;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func8.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
"T5:",
|
||||
"Ljava/lang/Object;",
|
||||
"T6:",
|
||||
"Ljava/lang/Object;",
|
||||
"T7:",
|
||||
"Ljava/lang/Object;",
|
||||
"T8:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;TT5;TT6;TT7;TT8;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,46 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/Func9;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Func9.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T1:",
|
||||
"Ljava/lang/Object;",
|
||||
"T2:",
|
||||
"Ljava/lang/Object;",
|
||||
"T3:",
|
||||
"Ljava/lang/Object;",
|
||||
"T4:",
|
||||
"Ljava/lang/Object;",
|
||||
"T5:",
|
||||
"Ljava/lang/Object;",
|
||||
"T6:",
|
||||
"Ljava/lang/Object;",
|
||||
"T7:",
|
||||
"Ljava/lang/Object;",
|
||||
"T8:",
|
||||
"Ljava/lang/Object;",
|
||||
"T9:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT1;TT2;TT3;TT4;TT5;TT6;TT7;TT8;TT9;)TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,30 +0,0 @@
|
|||
.class public interface abstract Lrx/functions/FuncN;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FuncN.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/l/j;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lg0/l/j;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public varargs abstract call([Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"([",
|
||||
"Ljava/lang/Object;",
|
||||
")TR;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,289 +0,0 @@
|
|||
.class public final Lrx/internal/util/SubscriptionList;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SubscriptionList.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Subscription;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public d:Ljava/util/List;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/List<",
|
||||
"Lrx/Subscription;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public volatile e:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Lrx/Subscription;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/LinkedList;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
iget-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public varargs constructor <init>([Lrx/Subscription;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/LinkedList;
|
||||
|
||||
invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/util/LinkedList;-><init>(Ljava/util/Collection;)V
|
||||
|
||||
iput-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lrx/Subscription;)V
|
||||
.locals 1
|
||||
|
||||
invoke-interface {p1}, Lrx/Subscription;->isUnsubscribed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
if-nez v0, :cond_3
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
iget-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
new-instance v0, Ljava/util/LinkedList;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
:cond_1
|
||||
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
monitor-exit p0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_3
|
||||
:goto_0
|
||||
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b(Lrx/Subscription;)V
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
iget-boolean v1, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
if-nez v1, :cond_1
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
:try_start_1
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public isUnsubscribed()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public unsubscribe()V
|
||||
.locals 3
|
||||
|
||||
iget-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
if-nez v0, :cond_4
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lrx/internal/util/SubscriptionList;->e:Z
|
||||
|
||||
iget-object v0, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
iput-object v1, p0, Lrx/internal/util/SubscriptionList;->d:Ljava/util/List;
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Lrx/Subscription;
|
||||
|
||||
:try_start_1
|
||||
invoke-interface {v2}, Lrx/Subscription;->unsubscribe()V
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v2
|
||||
|
||||
if-nez v1, :cond_2
|
||||
|
||||
new-instance v1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
:cond_2
|
||||
invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
invoke-static {v1}, Lf/o/a/j/a;->a(Ljava/util/List;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_1
|
||||
move-exception v0
|
||||
|
||||
:try_start_2
|
||||
monitor-exit p0
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_4
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
|
@ -1,86 +0,0 @@
|
|||
.class public Lrx/observers/SerializedSubscriber;
|
||||
.super Lrx/Subscriber;
|
||||
.source "SerializedSubscriber.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Lrx/Subscriber<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lg0/g;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lg0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/Subscriber;Z)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;Z)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2}, Lrx/Subscriber;-><init>(Lrx/Subscriber;Z)V
|
||||
|
||||
new-instance p2, Lg0/o/c;
|
||||
|
||||
invoke-direct {p2, p1}, Lg0/o/c;-><init>(Lg0/g;)V
|
||||
|
||||
iput-object p2, p0, Lrx/observers/SerializedSubscriber;->d:Lg0/g;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onCompleted()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Lg0/g;
|
||||
|
||||
invoke-interface {v0}, Lg0/g;->onCompleted()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Lg0/g;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/observers/SerializedSubscriber;->d:Lg0/g;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,60 +0,0 @@
|
|||
.class public final Lrx/subjects/BehaviorSubject$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "BehaviorSubject.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lrx/subjects/BehaviorSubject;->a(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Lg0/r/b$c<",
|
||||
"TT;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lg0/r/b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lg0/r/b;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lrx/subjects/BehaviorSubject$a;->d:Lg0/r/b;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lg0/r/b$c;
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject$a;->d:Lg0/r/b;
|
||||
|
||||
invoke-virtual {v0}, Lg0/r/b;->a()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Lg0/r/b$c;->a(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,334 +0,0 @@
|
|||
.class public final Lrx/subjects/BehaviorSubject;
|
||||
.super Lrx/subjects/Subject;
|
||||
.source "BehaviorSubject.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Lrx/subjects/Subject<",
|
||||
"TT;TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final e:Lg0/r/b;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lg0/r/b<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/Observable$a;Lg0/r/b;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Observable$a<",
|
||||
"TT;>;",
|
||||
"Lg0/r/b<",
|
||||
"TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1}, Lrx/subjects/Subject;-><init>(Lrx/Observable$a;)V
|
||||
|
||||
iput-object p2, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static a(Ljava/lang/Object;)Lrx/subjects/BehaviorSubject;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(TT;)",
|
||||
"Lrx/subjects/BehaviorSubject<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-static {p0, v0}, Lrx/subjects/BehaviorSubject;->a(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static a(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(TT;Z)",
|
||||
"Lrx/subjects/BehaviorSubject<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Lg0/r/b;
|
||||
|
||||
invoke-direct {v0}, Lg0/r/b;-><init>()V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-static {p0}, Lg0/m/a/h;->e(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-virtual {v0, p0}, Lg0/r/b;->b(Ljava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
new-instance p0, Lrx/subjects/BehaviorSubject$a;
|
||||
|
||||
invoke-direct {p0, v0}, Lrx/subjects/BehaviorSubject$a;-><init>(Lg0/r/b;)V
|
||||
|
||||
iput-object p0, v0, Lg0/r/b;->onAdded:Lrx/functions/Action1;
|
||||
|
||||
iget-object p0, v0, Lg0/r/b;->onAdded:Lrx/functions/Action1;
|
||||
|
||||
iput-object p0, v0, Lg0/r/b;->onTerminated:Lrx/functions/Action1;
|
||||
|
||||
new-instance p0, Lrx/subjects/BehaviorSubject;
|
||||
|
||||
invoke-direct {p0, v0, v0}, Lrx/subjects/BehaviorSubject;-><init>(Lrx/Observable$a;Lg0/r/b;)V
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static p()Lrx/subjects/BehaviorSubject;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">()",
|
||||
"Lrx/subjects/BehaviorSubject<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-static {v0, v1}, Lrx/subjects/BehaviorSubject;->a(Ljava/lang/Object;Z)Lrx/subjects/BehaviorSubject;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public o()Ljava/lang/Object;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()TT;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
|
||||
invoke-virtual {v0}, Lg0/r/b;->a()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Lg0/m/a/h;->d(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-static {v0}, Lg0/m/a/h;->a(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public onCompleted()V
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
|
||||
invoke-virtual {v0}, Lg0/r/b;->a()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
|
||||
iget-boolean v0, v0, Lg0/r/b;->active:Z
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lg0/m/a/h;->a:Ljava/lang/Object;
|
||||
|
||||
iget-object v1, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
|
||||
invoke-virtual {v1, v0}, Lg0/r/b;->c(Ljava/lang/Object;)[Lg0/r/b$c;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
array-length v2, v1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v3, v2, :cond_1
|
||||
|
||||
aget-object v4, v1, v3
|
||||
|
||||
invoke-virtual {v4, v0}, Lg0/r/b$c;->b(Ljava/lang/Object;)V
|
||||
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
|
||||
invoke-virtual {v0}, Lg0/r/b;->a()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
|
||||
iget-boolean v0, v0, Lg0/r/b;->active:Z
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
:cond_0
|
||||
invoke-static {p1}, Lg0/m/a/h;->a(Ljava/lang/Throwable;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iget-object v1, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
|
||||
invoke-virtual {v1, p1}, Lg0/r/b;->c(Ljava/lang/Object;)[Lg0/r/b$c;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
array-length v2, v1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v3, v2, :cond_2
|
||||
|
||||
aget-object v4, v1, v3
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {v4, p1}, Lg0/r/b$c;->b(Ljava/lang/Object;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_0
|
||||
move-exception v4
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
new-instance v0, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
:cond_1
|
||||
invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:goto_1
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-static {v0}, Lf/o/a/j/a;->a(Ljava/util/List;)V
|
||||
|
||||
:cond_3
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
|
||||
invoke-virtual {v0}, Lg0/r/b;->a()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
|
||||
iget-boolean v0, v0, Lg0/r/b;->active:Z
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
:cond_0
|
||||
invoke-static {p1}, Lg0/m/a/h;->e(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/BehaviorSubject;->e:Lg0/r/b;
|
||||
|
||||
invoke-virtual {v0, p1}, Lg0/r/b;->a(Ljava/lang/Object;)[Lg0/r/b$c;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_1
|
||||
|
||||
aget-object v3, v0, v2
|
||||
|
||||
invoke-virtual {v3, p1}, Lg0/r/b$c;->b(Ljava/lang/Object;)V
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
|
@ -1,261 +0,0 @@
|
|||
.class public final Lrx/subjects/PublishSubject$a;
|
||||
.super Ljava/util/concurrent/atomic/AtomicLong;
|
||||
.source "PublishSubject.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Producer;
|
||||
.implements Lrx/Subscription;
|
||||
.implements Lg0/g;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/subjects/PublishSubject;
|
||||
.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/AtomicLong;",
|
||||
"Lrx/Producer;",
|
||||
"Lrx/Subscription;",
|
||||
"Lg0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x59896c1df8e78b00L
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final actual:Lrx/Subscriber;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final parent:Lrx/subjects/PublishSubject$b;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/subjects/PublishSubject$b<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public produced:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/subjects/PublishSubject$b;Lrx/Subscriber;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/subjects/PublishSubject$b<",
|
||||
"TT;>;",
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lrx/subjects/PublishSubject$a;->parent:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
iput-object p2, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(J)V
|
||||
.locals 5
|
||||
|
||||
invoke-static {p1, p2}, Lf/o/a/j/a;->a(J)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_1
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
invoke-static {v0, v1, p1, p2}, Lf/o/a/j/a;->a(JJ)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
invoke-virtual {p0, v0, v1, v2, v3}, Ljava/util/concurrent/atomic/AtomicLong;->compareAndSet(JJ)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public isUnsubscribed()Z
|
||||
.locals 5
|
||||
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-nez v4, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public onCompleted()V
|
||||
.locals 5
|
||||
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0}, Lg0/g;->onCompleted()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 5
|
||||
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 5
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const-wide/high16 v2, -0x8000000000000000L
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
iget-wide v2, p0, Lrx/subjects/PublishSubject$a;->produced:J
|
||||
|
||||
cmp-long v4, v0, v2
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
const-wide/16 v0, 0x1
|
||||
|
||||
add-long/2addr v2, v0
|
||||
|
||||
iput-wide v2, p0, Lrx/subjects/PublishSubject$a;->produced:J
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Lrx/subjects/PublishSubject$a;->unsubscribe()V
|
||||
|
||||
iget-object p1, p0, Lrx/subjects/PublishSubject$a;->actual:Lrx/Subscriber;
|
||||
|
||||
new-instance v0, Lg0/k/b;
|
||||
|
||||
const-string v1, "PublishSubject: could not emit value due to lack of requests"
|
||||
|
||||
invoke-direct {v0, v1}, Lg0/k/b;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p1, v0}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public unsubscribe()V
|
||||
.locals 5
|
||||
|
||||
const-wide/high16 v0, -0x8000000000000000L
|
||||
|
||||
invoke-virtual {p0, v0, v1}, Ljava/util/concurrent/atomic/AtomicLong;->getAndSet(J)J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
cmp-long v4, v2, v0
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$a;->parent:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
invoke-virtual {v0, p0}, Lrx/subjects/PublishSubject$b;->b(Lrx/subjects/PublishSubject$a;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
|
@ -1,401 +0,0 @@
|
|||
.class public final Lrx/subjects/PublishSubject$b;
|
||||
.super Ljava/util/concurrent/atomic/AtomicReference;
|
||||
.source "PublishSubject.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Observable$a;
|
||||
.implements Lg0/g;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/subjects/PublishSubject;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/util/concurrent/atomic/AtomicReference<",
|
||||
"[",
|
||||
"Lrx/subjects/PublishSubject$a<",
|
||||
"TT;>;>;",
|
||||
"Lrx/Observable$a<",
|
||||
"TT;>;",
|
||||
"Lg0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final d:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
.field public static final e:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
.field public static final serialVersionUID:J = -0x690a478d773d9c84L
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public error:Ljava/lang/Throwable;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
new-array v1, v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
sput-object v1, Lrx/subjects/PublishSubject$b;->d:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
new-array v0, v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
sput-object v0, Lrx/subjects/PublishSubject$b;->e:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
|
||||
|
||||
sget-object v0, Lrx/subjects/PublishSubject$b;->d:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lrx/Subscriber;)V
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Subscriber<",
|
||||
"-TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-direct {v0, p0, p1}, Lrx/subjects/PublishSubject$a;-><init>(Lrx/subjects/PublishSubject$b;Lrx/Subscriber;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Subscriber;->add(Lrx/Subscription;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/Subscriber;->setProducer(Lrx/Producer;)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lrx/subjects/PublishSubject$b;->a(Lrx/subjects/PublishSubject$a;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Lrx/subjects/PublishSubject$a;->isUnsubscribed()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
invoke-virtual {p0, v0}, Lrx/subjects/PublishSubject$b;->b(Lrx/subjects/PublishSubject$a;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject$b;->error:Ljava/lang/Throwable;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
invoke-interface {p1, v0}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-interface {p1}, Lg0/g;->onCompleted()V
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public a(Lrx/subjects/PublishSubject$a;)Z
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/subjects/PublishSubject$a<",
|
||||
"TT;>;)Z"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
sget-object v1, Lrx/subjects/PublishSubject$b;->e:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-ne v0, v1, :cond_1
|
||||
|
||||
return v2
|
||||
|
||||
:cond_1
|
||||
array-length v1, v0
|
||||
|
||||
add-int/lit8 v3, v1, 0x1
|
||||
|
||||
new-array v3, v3, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-static {v0, v2, v3, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
|
||||
aput-object p1, v3, v1
|
||||
|
||||
invoke-virtual {p0, v0, v3}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public b(Lrx/subjects/PublishSubject$a;)V
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/subjects/PublishSubject$a<",
|
||||
"TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
sget-object v1, Lrx/subjects/PublishSubject$b;->e:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
if-eq v0, v1, :cond_6
|
||||
|
||||
sget-object v1, Lrx/subjects/PublishSubject$b;->d:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
if-ne v0, v1, :cond_1
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_1
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, -0x1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v4, v1, :cond_3
|
||||
|
||||
aget-object v5, v0, v4
|
||||
|
||||
if-ne v5, p1, :cond_2
|
||||
|
||||
move v2, v4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
add-int/lit8 v4, v4, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
:goto_1
|
||||
if-gez v2, :cond_4
|
||||
|
||||
return-void
|
||||
|
||||
:cond_4
|
||||
const/4 v4, 0x1
|
||||
|
||||
if-ne v1, v4, :cond_5
|
||||
|
||||
sget-object v1, Lrx/subjects/PublishSubject$b;->d:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_5
|
||||
add-int/lit8 v5, v1, -0x1
|
||||
|
||||
new-array v5, v5, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-static {v0, v3, v5, v3, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
|
||||
add-int/lit8 v3, v2, 0x1
|
||||
|
||||
sub-int/2addr v1, v2
|
||||
|
||||
sub-int/2addr v1, v4
|
||||
|
||||
invoke-static {v0, v3, v5, v2, v1}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
||||
|
||||
move-object v1, v5
|
||||
|
||||
:goto_2
|
||||
invoke-virtual {p0, v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
:cond_6
|
||||
:goto_3
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic call(Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lrx/Subscriber;
|
||||
|
||||
invoke-virtual {p0, p1}, Lrx/subjects/PublishSubject$b;->a(Lrx/Subscriber;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onCompleted()V
|
||||
.locals 4
|
||||
|
||||
sget-object v0, Lrx/subjects/PublishSubject$b;->e:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_0
|
||||
|
||||
aget-object v3, v0, v2
|
||||
|
||||
invoke-virtual {v3}, Lrx/subjects/PublishSubject$a;->onCompleted()V
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 6
|
||||
|
||||
iput-object p1, p0, Lrx/subjects/PublishSubject$b;->error:Ljava/lang/Throwable;
|
||||
|
||||
sget-object v0, Lrx/subjects/PublishSubject$b;->e:[Lrx/subjects/PublishSubject$a;
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v3, v1, :cond_1
|
||||
|
||||
aget-object v4, v0, v3
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {v4, p1}, Lrx/subjects/PublishSubject$a;->onError(Ljava/lang/Throwable;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_0
|
||||
move-exception v4
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
new-instance v2, Ljava/util/ArrayList;
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
invoke-direct {v2, v5}, Ljava/util/ArrayList;-><init>(I)V
|
||||
|
||||
:cond_0
|
||||
invoke-interface {v2, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:goto_1
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-static {v2}, Lf/o/a/j/a;->a(Ljava/util/List;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lrx/subjects/PublishSubject$a;
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_0
|
||||
|
||||
aget-object v3, v0, v2
|
||||
|
||||
invoke-virtual {v3, p1}, Lrx/subjects/PublishSubject$a;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
|
@ -1,112 +0,0 @@
|
|||
.class public final Lrx/subjects/PublishSubject;
|
||||
.super Lrx/subjects/Subject;
|
||||
.source "PublishSubject.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lrx/subjects/PublishSubject$a;,
|
||||
Lrx/subjects/PublishSubject$b;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Lrx/subjects/Subject<",
|
||||
"TT;TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final e:Lrx/subjects/PublishSubject$b;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/subjects/PublishSubject$b<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/subjects/PublishSubject$b;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/subjects/PublishSubject$b<",
|
||||
"TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1}, Lrx/subjects/Subject;-><init>(Lrx/Observable$a;)V
|
||||
|
||||
iput-object p1, p0, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static o()Lrx/subjects/PublishSubject;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">()",
|
||||
"Lrx/subjects/PublishSubject<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Lrx/subjects/PublishSubject;
|
||||
|
||||
new-instance v1, Lrx/subjects/PublishSubject$b;
|
||||
|
||||
invoke-direct {v1}, Lrx/subjects/PublishSubject$b;-><init>()V
|
||||
|
||||
invoke-direct {v0, v1}, Lrx/subjects/PublishSubject;-><init>(Lrx/subjects/PublishSubject$b;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onCompleted()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
invoke-virtual {v0}, Lrx/subjects/PublishSubject$b;->onCompleted()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
invoke-virtual {v0, p1}, Lrx/subjects/PublishSubject$b;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/PublishSubject;->e:Lrx/subjects/PublishSubject$b;
|
||||
|
||||
invoke-virtual {v0, p1}, Lrx/subjects/PublishSubject$b;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,55 +0,0 @@
|
|||
.class public Lrx/subjects/SerializedSubject$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SerializedSubject.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Observable$a;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lrx/subjects/SerializedSubject;-><init>(Lrx/subjects/Subject;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/Observable$a<",
|
||||
"TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lrx/subjects/Subject;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/subjects/Subject;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lrx/subjects/SerializedSubject$a;->d:Lrx/subjects/Subject;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Lrx/Subscriber;
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject$a;->d:Lrx/subjects/Subject;
|
||||
|
||||
invoke-virtual {v0, p1}, Lrx/Observable;->b(Lrx/Subscriber;)Lrx/Subscription;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,92 +0,0 @@
|
|||
.class public Lrx/subjects/SerializedSubject;
|
||||
.super Lrx/subjects/Subject;
|
||||
.source "SerializedSubject.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Lrx/subjects/Subject<",
|
||||
"TT;TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final e:Lg0/o/c;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lg0/o/c<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/subjects/Subject;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/subjects/Subject<",
|
||||
"TT;TR;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Lrx/subjects/SerializedSubject$a;
|
||||
|
||||
invoke-direct {v0, p1}, Lrx/subjects/SerializedSubject$a;-><init>(Lrx/subjects/Subject;)V
|
||||
|
||||
invoke-direct {p0, v0}, Lrx/subjects/Subject;-><init>(Lrx/Observable$a;)V
|
||||
|
||||
new-instance v0, Lg0/o/c;
|
||||
|
||||
invoke-direct {v0, p1}, Lg0/o/c;-><init>(Lg0/g;)V
|
||||
|
||||
iput-object v0, p0, Lrx/subjects/SerializedSubject;->e:Lg0/o/c;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onCompleted()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject;->e:Lg0/o/c;
|
||||
|
||||
invoke-virtual {v0}, Lg0/o/c;->onCompleted()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject;->e:Lg0/o/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Lg0/o/c;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lrx/subjects/SerializedSubject;->e:Lg0/o/c;
|
||||
|
||||
invoke-virtual {v0, p1}, Lg0/o/c;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,73 +0,0 @@
|
|||
.class public abstract Lrx/subjects/Subject;
|
||||
.super Lrx/Observable;
|
||||
.source "Subject.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lg0/g;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
"R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Lrx/Observable<",
|
||||
"TR;>;",
|
||||
"Lg0/g<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/Observable$a;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Observable$a<",
|
||||
"TR;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1}, Lrx/Observable;-><init>(Lrx/Observable$a;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final n()Lrx/subjects/SerializedSubject;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Lrx/subjects/SerializedSubject<",
|
||||
"TT;TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-class v1, Lrx/subjects/SerializedSubject;
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
check-cast v0, Lrx/subjects/SerializedSubject;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Lrx/subjects/SerializedSubject;
|
||||
|
||||
invoke-direct {v0, p0}, Lrx/subjects/SerializedSubject;-><init>(Lrx/subjects/Subject;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,351 +0,0 @@
|
|||
.class public final Lrx/subscriptions/CompositeSubscription;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CompositeSubscription.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Subscription;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public d:Ljava/util/Set;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Set<",
|
||||
"Lrx/Subscription;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public volatile e:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public varargs constructor <init>([Lrx/Subscription;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/HashSet;
|
||||
|
||||
invoke-static {p1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
|
||||
iput-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static a(Ljava/util/Collection;)V
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Collection<",
|
||||
"Lrx/Subscription;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
:goto_0
|
||||
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lrx/Subscription;
|
||||
|
||||
:try_start_0
|
||||
invoke-interface {v1}, Lrx/Subscription;->unsubscribe()V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
new-instance v0, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
:cond_1
|
||||
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-static {v0}, Lf/o/a/j/a;->a(Ljava/util/List;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()V
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
iput-object v1, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-static {v0}, Lrx/subscriptions/CompositeSubscription;->a(Ljava/util/Collection;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
:try_start_1
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public a(Lrx/Subscription;)V
|
||||
.locals 2
|
||||
|
||||
invoke-interface {p1}, Lrx/Subscription;->isUnsubscribed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_3
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
new-instance v0, Ljava/util/HashSet;
|
||||
|
||||
const/4 v1, 0x4
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/util/HashSet;-><init>(I)V
|
||||
|
||||
iput-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
:cond_1
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
monitor-exit p0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_3
|
||||
:goto_0
|
||||
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b(Lrx/Subscription;)V
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_2
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
:try_start_1
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public isUnsubscribed()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public unsubscribe()V
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lrx/subscriptions/CompositeSubscription;->e:Z
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
iput-object v1, p0, Lrx/subscriptions/CompositeSubscription;->d:Ljava/util/Set;
|
||||
|
||||
monitor-exit p0
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-static {v0}, Lrx/subscriptions/CompositeSubscription;->a(Ljava/util/Collection;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
:try_start_1
|
||||
monitor-exit p0
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
|
@ -1,109 +0,0 @@
|
|||
.class public final Lrx/subscriptions/SerialSubscription;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SerialSubscription.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Subscription;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lg0/m/d/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Lg0/m/d/a;
|
||||
|
||||
invoke-direct {v0}, Lg0/m/d/a;-><init>()V
|
||||
|
||||
iput-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lg0/m/d/a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Lrx/Subscription;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lg0/m/d/a;
|
||||
|
||||
invoke-virtual {v0}, Lg0/m/d/a;->a()Lrx/Subscription;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public a(Lrx/Subscription;)V
|
||||
.locals 3
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lg0/m/d/a;
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lrx/Subscription;
|
||||
|
||||
sget-object v2, Lg0/m/d/b;->d:Lg0/m/d/b;
|
||||
|
||||
if-ne v1, v2, :cond_1
|
||||
|
||||
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {v0, v1, p1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
invoke-interface {v1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "Subscription can not be null"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public isUnsubscribed()Z
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lg0/m/d/a;
|
||||
|
||||
invoke-virtual {v0}, Lg0/m/d/a;->isUnsubscribed()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public unsubscribe()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/subscriptions/SerialSubscription;->d:Lg0/m/d/a;
|
||||
|
||||
invoke-virtual {v0}, Lg0/m/d/a;->unsubscribe()V
|
||||
|
||||
return-void
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue