123 lines
2.4 KiB
Smali
123 lines
2.4 KiB
Smali
.class public final Lr0/l/a/a1$c;
|
|
.super Ljava/util/concurrent/atomic/AtomicLong;
|
|
.source "OperatorMerge.java"
|
|
|
|
# interfaces
|
|
.implements Lrx/Producer;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lr0/l/a/a1;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "c"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/util/concurrent/atomic/AtomicLong;",
|
|
"Lrx/Producer;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final serialVersionUID:J = -0x10da57706b0ad46fL
|
|
|
|
|
|
# instance fields
|
|
.field public final subscriber:Lr0/l/a/a1$d;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lr0/l/a/a1$d<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lr0/l/a/a1$d;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lr0/l/a/a1$d<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
|
|
|
|
iput-object p1, p0, Lr0/l/a/a1$c;->subscriber:Lr0/l/a/a1$d;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(I)J
|
|
.locals 2
|
|
|
|
neg-int p1, p1
|
|
|
|
int-to-long v0, p1
|
|
|
|
invoke-virtual {p0, v0, v1}, Ljava/util/concurrent/atomic/AtomicLong;->addAndGet(J)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public n(J)V
|
|
.locals 5
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long v2, p1, v0
|
|
|
|
if-lez v2, :cond_1
|
|
|
|
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide v2, 0x7fffffffffffffffL
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-static {p0, p1, p2}, Lj0/i/u;->u(Ljava/util/concurrent/atomic/AtomicLong;J)J
|
|
|
|
iget-object p1, p0, Lr0/l/a/a1$c;->subscriber:Lr0/l/a/a1$d;
|
|
|
|
invoke-virtual {p1}, Lr0/l/a/a1$d;->b()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
if-ltz v2, :cond_2
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:cond_2
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "n >= 0 required"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|