You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
382 lines
12 KiB
382 lines
12 KiB
.class abstract Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy; |
|
.super Lcom/google/common/collect/ForwardingConcurrentMap; |
|
.source "MapMakerInternalMap.java" |
|
|
|
# interfaces |
|
.implements Ljava/io/Serializable; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/google/common/collect/MapMakerInternalMap; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x408 |
|
name = "AbstractSerializationProxy" |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">", |
|
"Lcom/google/common/collect/ForwardingConcurrentMap", |
|
"<TK;TV;>;", |
|
"Ljava/io/Serializable;" |
|
} |
|
.end annotation |
|
|
|
|
|
# static fields |
|
.field private static final serialVersionUID:J = 0x3L |
|
|
|
|
|
# instance fields |
|
.field final concurrencyLevel:I |
|
|
|
.field transient delegate:Ljava/util/concurrent/ConcurrentMap; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Ljava/util/concurrent/ConcurrentMap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field final expireAfterAccessNanos:J |
|
|
|
.field final expireAfterWriteNanos:J |
|
|
|
.field final keyEquivalence:Lcom/google/common/base/Equivalence; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/common/base/Equivalence", |
|
"<", |
|
"Ljava/lang/Object;", |
|
">;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field final keyStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength; |
|
|
|
.field final maximumSize:I |
|
|
|
.field final removalListener:Lcom/google/common/collect/MapMaker$RemovalListener; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/common/collect/MapMaker$RemovalListener", |
|
"<-TK;-TV;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field final valueEquivalence:Lcom/google/common/base/Equivalence; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/common/base/Equivalence", |
|
"<", |
|
"Ljava/lang/Object;", |
|
">;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field final valueStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/google/common/collect/MapMakerInternalMap$Strength;Lcom/google/common/collect/MapMakerInternalMap$Strength;Lcom/google/common/base/Equivalence;Lcom/google/common/base/Equivalence;JJIILcom/google/common/collect/MapMaker$RemovalListener;Ljava/util/concurrent/ConcurrentMap;)V |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Lcom/google/common/collect/MapMakerInternalMap$Strength;", |
|
"Lcom/google/common/collect/MapMakerInternalMap$Strength;", |
|
"Lcom/google/common/base/Equivalence", |
|
"<", |
|
"Ljava/lang/Object;", |
|
">;", |
|
"Lcom/google/common/base/Equivalence", |
|
"<", |
|
"Ljava/lang/Object;", |
|
">;JJII", |
|
"Lcom/google/common/collect/MapMaker$RemovalListener", |
|
"<-TK;-TV;>;", |
|
"Ljava/util/concurrent/ConcurrentMap", |
|
"<TK;TV;>;)V" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 3916 |
|
invoke-direct {p0}, Lcom/google/common/collect/ForwardingConcurrentMap;-><init>()V |
|
|
|
.line 3917 |
|
iput-object p1, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->keyStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength; |
|
|
|
.line 3918 |
|
iput-object p2, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->valueStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength; |
|
|
|
.line 3919 |
|
iput-object p3, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->keyEquivalence:Lcom/google/common/base/Equivalence; |
|
|
|
.line 3920 |
|
iput-object p4, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->valueEquivalence:Lcom/google/common/base/Equivalence; |
|
|
|
.line 3921 |
|
iput-wide p5, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->expireAfterWriteNanos:J |
|
|
|
.line 3922 |
|
iput-wide p7, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->expireAfterAccessNanos:J |
|
|
|
.line 3923 |
|
iput p9, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->maximumSize:I |
|
|
|
.line 3924 |
|
iput p10, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->concurrencyLevel:I |
|
|
|
.line 3925 |
|
iput-object p11, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->removalListener:Lcom/google/common/collect/MapMaker$RemovalListener; |
|
|
|
.line 3926 |
|
iput-object p12, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->delegate:Ljava/util/concurrent/ConcurrentMap; |
|
|
|
.line 3927 |
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method protected bridge synthetic delegate()Ljava/lang/Object; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 3896 |
|
invoke-virtual {p0}, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->delegate()Ljava/util/concurrent/ConcurrentMap; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method protected bridge synthetic delegate()Ljava/util/Map; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 3896 |
|
invoke-virtual {p0}, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->delegate()Ljava/util/concurrent/ConcurrentMap; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method protected delegate()Ljava/util/concurrent/ConcurrentMap; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/concurrent/ConcurrentMap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 3931 |
|
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->delegate:Ljava/util/concurrent/ConcurrentMap; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method readEntries(Ljava/io/ObjectInputStream;)V |
|
.locals 3 |
|
|
|
.prologue |
|
.line 3968 |
|
:goto_0 |
|
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->readObject()Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
.line 3969 |
|
if-nez v0, :cond_0 |
|
|
|
.line 3975 |
|
return-void |
|
|
|
.line 3972 |
|
:cond_0 |
|
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->readObject()Ljava/lang/Object; |
|
|
|
move-result-object v1 |
|
|
|
.line 3973 |
|
iget-object v2, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->delegate:Ljava/util/concurrent/ConcurrentMap; |
|
|
|
invoke-interface {v2, v0, v1}, Ljava/util/concurrent/ConcurrentMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method readMapMaker(Ljava/io/ObjectInputStream;)Lcom/google/common/collect/MapMaker; |
|
.locals 6 |
|
|
|
.prologue |
|
const-wide/16 v4, 0x0 |
|
|
|
.line 3945 |
|
invoke-virtual {p1}, Ljava/io/ObjectInputStream;->readInt()I |
|
|
|
move-result v0 |
|
|
|
.line 3946 |
|
new-instance v1, Lcom/google/common/collect/MapMaker; |
|
|
|
invoke-direct {v1}, Lcom/google/common/collect/MapMaker;-><init>()V |
|
|
|
invoke-virtual {v1, v0}, Lcom/google/common/collect/MapMaker;->initialCapacity(I)Lcom/google/common/collect/MapMaker; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->keyStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength; |
|
|
|
invoke-virtual {v0, v1}, Lcom/google/common/collect/MapMaker;->setKeyStrength(Lcom/google/common/collect/MapMakerInternalMap$Strength;)Lcom/google/common/collect/MapMaker; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->valueStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength; |
|
|
|
invoke-virtual {v0, v1}, Lcom/google/common/collect/MapMaker;->setValueStrength(Lcom/google/common/collect/MapMakerInternalMap$Strength;)Lcom/google/common/collect/MapMaker; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->keyEquivalence:Lcom/google/common/base/Equivalence; |
|
|
|
invoke-virtual {v0, v1}, Lcom/google/common/collect/MapMaker;->keyEquivalence(Lcom/google/common/base/Equivalence;)Lcom/google/common/collect/MapMaker; |
|
|
|
move-result-object v0 |
|
|
|
iget v1, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->concurrencyLevel:I |
|
|
|
invoke-virtual {v0, v1}, Lcom/google/common/collect/MapMaker;->concurrencyLevel(I)Lcom/google/common/collect/MapMaker; |
|
|
|
move-result-object v0 |
|
|
|
.line 3952 |
|
iget-object v1, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->removalListener:Lcom/google/common/collect/MapMaker$RemovalListener; |
|
|
|
invoke-virtual {v0, v1}, Lcom/google/common/collect/MapMaker;->removalListener(Lcom/google/common/collect/MapMaker$RemovalListener;)Lcom/google/common/collect/GenericMapMaker; |
|
|
|
.line 3953 |
|
iget-wide v2, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->expireAfterWriteNanos:J |
|
|
|
cmp-long v1, v2, v4 |
|
|
|
if-lez v1, :cond_0 |
|
|
|
.line 3954 |
|
iget-wide v2, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->expireAfterWriteNanos:J |
|
|
|
sget-object v1, Ljava/util/concurrent/TimeUnit;->NANOSECONDS:Ljava/util/concurrent/TimeUnit; |
|
|
|
invoke-virtual {v0, v2, v3, v1}, Lcom/google/common/collect/MapMaker;->expireAfterWrite(JLjava/util/concurrent/TimeUnit;)Lcom/google/common/collect/MapMaker; |
|
|
|
.line 3956 |
|
:cond_0 |
|
iget-wide v2, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->expireAfterAccessNanos:J |
|
|
|
cmp-long v1, v2, v4 |
|
|
|
if-lez v1, :cond_1 |
|
|
|
.line 3957 |
|
iget-wide v2, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->expireAfterAccessNanos:J |
|
|
|
sget-object v1, Ljava/util/concurrent/TimeUnit;->NANOSECONDS:Ljava/util/concurrent/TimeUnit; |
|
|
|
invoke-virtual {v0, v2, v3, v1}, Lcom/google/common/collect/MapMaker;->expireAfterAccess(JLjava/util/concurrent/TimeUnit;)Lcom/google/common/collect/MapMaker; |
|
|
|
.line 3959 |
|
:cond_1 |
|
iget v1, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->maximumSize:I |
|
|
|
const/4 v2, -0x1 |
|
|
|
if-eq v1, v2, :cond_2 |
|
|
|
.line 3960 |
|
iget v1, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->maximumSize:I |
|
|
|
invoke-virtual {v0, v1}, Lcom/google/common/collect/MapMaker;->maximumSize(I)Lcom/google/common/collect/MapMaker; |
|
|
|
.line 3962 |
|
:cond_2 |
|
return-object v0 |
|
.end method |
|
|
|
.method writeMapTo(Ljava/io/ObjectOutputStream;)V |
|
.locals 3 |
|
|
|
.prologue |
|
.line 3935 |
|
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->delegate:Ljava/util/concurrent/ConcurrentMap; |
|
|
|
invoke-interface {v0}, Ljava/util/concurrent/ConcurrentMap;->size()I |
|
|
|
move-result v0 |
|
|
|
invoke-virtual {p1, v0}, Ljava/io/ObjectOutputStream;->writeInt(I)V |
|
|
|
.line 3936 |
|
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$AbstractSerializationProxy;->delegate:Ljava/util/concurrent/ConcurrentMap; |
|
|
|
invoke-interface {v0}, Ljava/util/concurrent/ConcurrentMap;->entrySet()Ljava/util/Set; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v1 |
|
|
|
:goto_0 |
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Ljava/util/Map$Entry; |
|
|
|
.line 3937 |
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {p1, v2}, Ljava/io/ObjectOutputStream;->writeObject(Ljava/lang/Object;)V |
|
|
|
.line 3938 |
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {p1, v0}, Ljava/io/ObjectOutputStream;->writeObject(Ljava/lang/Object;)V |
|
|
|
goto :goto_0 |
|
|
|
.line 3940 |
|
:cond_0 |
|
const/4 v0, 0x0 |
|
|
|
invoke-virtual {p1, v0}, Ljava/io/ObjectOutputStream;->writeObject(Ljava/lang/Object;)V |
|
|
|
.line 3941 |
|
return-void |
|
.end method
|
|
|