Observables$1.smali
.class final Lorg/web3j/utils/Observables$1;
.super Ljava/lang/Object;
.source "Observables.java"
# interfaces
.implements Lrx/f;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lorg/web3j/utils/Observables;->range(Ljava/math/BigInteger;Ljava/math/BigInteger;Z)Lrx/e;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lrx/f",
"<",
"Ljava/math/BigInteger;",
">;"
}
.end annotation
# instance fields
.field final synthetic val$endValue:Ljava/math/BigInteger;
.field final synthetic val$startValue:Ljava/math/BigInteger;
# direct methods
.method constructor <init>(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
.registers 3
.prologue
.line 36
iput-object p1, p0, Lorg/web3j/utils/Observables$1;->val$startValue:Ljava/math/BigInteger;
iput-object p2, p0, Lorg/web3j/utils/Observables$1;->val$endValue:Ljava/math/BigInteger;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final bridge synthetic call(Ljava/lang/Object;)V
.registers 2
.prologue
.line 36
check-cast p1, Lrx/o;
invoke-virtual {p0, p1}, Lorg/web3j/utils/Observables$1;->call(Lrx/o;)V
return-void
.end method
.method public final call(Lrx/o;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/o",
"<-",
"Ljava/math/BigInteger;",
">;)V"
}
.end annotation
.prologue
.line 39
iget-object v0, p0, Lorg/web3j/utils/Observables$1;->val$startValue:Ljava/math/BigInteger;
.line 41
:goto_2
iget-object v1, p0, Lorg/web3j/utils/Observables$1;->val$endValue:Ljava/math/BigInteger;
invoke-virtual {v0, v1}, Ljava/math/BigInteger;->compareTo(Ljava/math/BigInteger;)I
move-result v1
if-gtz v1, :cond_1a
invoke-virtual {p1}, Lrx/o;->isUnsubscribed()Z
move-result v1
if-nez v1, :cond_1a
.line 43
invoke-virtual {p1, v0}, Lrx/o;->onNext(Ljava/lang/Object;)V
.line 42
sget-object v1, Ljava/math/BigInteger;->ONE:Ljava/math/BigInteger;
invoke-virtual {v0, v1}, Ljava/math/BigInteger;->add(Ljava/math/BigInteger;)Ljava/math/BigInteger;
move-result-object v0
goto :goto_2
.line 46
:cond_1a
invoke-virtual {p1}, Lrx/o;->isUnsubscribed()Z
move-result v0
if-nez v0, :cond_23
.line 47
invoke-virtual {p1}, Lrx/o;->SG()V
.line 49
:cond_23
return-void
.end method