d.smali
.class final Lcom/cmcm/safewallet/data/coinprovider/btc/bcimpl/depends/d;
.super Ljava/lang/Object;
.source "Coins.java"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator",
"<",
"Linfo/blockchain/api/data/UnspentOutput;",
">;"
}
.end annotation
# direct methods
.method private constructor <init>()V
.registers 1
.prologue
.line 25
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method synthetic constructor <init>(B)V
.registers 2
.prologue
.line 25
invoke-direct {p0}, Lcom/cmcm/safewallet/data/coinprovider/btc/bcimpl/depends/d;-><init>()V
return-void
.end method
# virtual methods
.method public final synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.registers 5
.prologue
.line 25
check-cast p1, Linfo/blockchain/api/data/UnspentOutput;
check-cast p2, Linfo/blockchain/api/data/UnspentOutput;
.line 1035
invoke-virtual {p1}, Linfo/blockchain/api/data/UnspentOutput;->getValue()Ljava/math/BigInteger;
move-result-object v0
invoke-virtual {p2}, Linfo/blockchain/api/data/UnspentOutput;->getValue()Ljava/math/BigInteger;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/math/BigInteger;->compareTo(Ljava/math/BigInteger;)I
move-result v0
if-lez v0, :cond_14
.line 1036
const/4 v0, -0x1
.line 25
:goto_13
return v0
.line 1037
:cond_14
invoke-virtual {p1}, Linfo/blockchain/api/data/UnspentOutput;->getValue()Ljava/math/BigInteger;
move-result-object v0
invoke-virtual {p2}, Linfo/blockchain/api/data/UnspentOutput;->getValue()Ljava/math/BigInteger;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/math/BigInteger;->compareTo(Ljava/math/BigInteger;)I
move-result v0
if-gez v0, :cond_24
.line 1038
const/4 v0, 0x1
goto :goto_13
.line 1040
:cond_24
const/4 v0, 0x0
goto :goto_13
.end method