MemoryBlockStore$1.smali
.class Lorg/bitcoinj/store/MemoryBlockStore$1;
.super Ljava/util/LinkedHashMap;
.source "MemoryBlockStore.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/bitcoinj/store/MemoryBlockStore;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/LinkedHashMap",
"<",
"Lorg/bitcoinj/core/Sha256Hash;",
"Lorg/bitcoinj/core/StoredBlock;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lorg/bitcoinj/store/MemoryBlockStore;
# direct methods
.method constructor <init>(Lorg/bitcoinj/store/MemoryBlockStore;)V
.registers 2
.prologue
.line 28
iput-object p1, p0, Lorg/bitcoinj/store/MemoryBlockStore$1;->this$0:Lorg/bitcoinj/store/MemoryBlockStore;
invoke-direct {p0}, Ljava/util/LinkedHashMap;-><init>()V
return-void
.end method
# virtual methods
.method protected removeEldestEntry(Ljava/util/Map$Entry;)Z
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map$Entry",
"<",
"Lorg/bitcoinj/core/Sha256Hash;",
"Lorg/bitcoinj/core/StoredBlock;",
">;)Z"
}
.end annotation
.prologue
.line 31
iget-object v0, p0, Lorg/bitcoinj/store/MemoryBlockStore$1;->this$0:Lorg/bitcoinj/store/MemoryBlockStore;
# getter for: Lorg/bitcoinj/store/MemoryBlockStore;->blockMap:Ljava/util/LinkedHashMap;
invoke-static {v0}, Lorg/bitcoinj/store/MemoryBlockStore;->access$000(Lorg/bitcoinj/store/MemoryBlockStore;)Ljava/util/LinkedHashMap;
move-result-object v0
invoke-virtual {v0}, Ljava/util/LinkedHashMap;->size()I
move-result v0
const/16 v1, 0x1388
if-le v0, v1, :cond_10
const/4 v0, 0x1
:goto_f
return v0
:cond_10
const/4 v0, 0x0
goto :goto_f
.end method