175 lines
5.7 KiB
Smali
175 lines
5.7 KiB
Smali
.class final Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment;
|
|
.super Lcom/google/common/collect/MapMakerInternalMap$Segment;
|
|
.source "MapMakerInternalMap.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/common/collect/MapMakerInternalMap;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "WeakKeyDummyValueSegment"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lcom/google/common/collect/MapMakerInternalMap$Segment<",
|
|
"TK;",
|
|
"Lcom/google/common/collect/MapMaker$Dummy;",
|
|
"Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueEntry<",
|
|
"TK;>;",
|
|
"Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment<",
|
|
"TK;>;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final queueForKeys:Ljava/lang/ref/ReferenceQueue;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/ref/ReferenceQueue<",
|
|
"TK;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/common/collect/MapMakerInternalMap;II)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/google/common/collect/MapMakerInternalMap<",
|
|
"TK;",
|
|
"Lcom/google/common/collect/MapMaker$Dummy;",
|
|
"Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueEntry<",
|
|
"TK;>;",
|
|
"Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment<",
|
|
"TK;>;>;II)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/google/common/collect/MapMakerInternalMap$Segment;-><init>(Lcom/google/common/collect/MapMakerInternalMap;II)V
|
|
|
|
.line 2
|
|
new-instance p1, Ljava/lang/ref/ReferenceQueue;
|
|
|
|
invoke-direct {p1}, Ljava/lang/ref/ReferenceQueue;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment;->queueForKeys:Ljava/lang/ref/ReferenceQueue;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$200(Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment;)Ljava/lang/ref/ReferenceQueue;
|
|
.locals 0
|
|
|
|
.line 1
|
|
iget-object p0, p0, Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment;->queueForKeys:Ljava/lang/ref/ReferenceQueue;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic castForTesting(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment;->castForTesting(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueEntry;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public castForTesting(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueEntry;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/google/common/collect/MapMakerInternalMap$InternalEntry<",
|
|
"TK;",
|
|
"Lcom/google/common/collect/MapMaker$Dummy;",
|
|
"*>;)",
|
|
"Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueEntry<",
|
|
"TK;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 2
|
|
check-cast p1, Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueEntry;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getKeyReferenceQueueForTesting()Ljava/lang/ref/ReferenceQueue;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/lang/ref/ReferenceQueue<",
|
|
"TK;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment;->queueForKeys:Ljava/lang/ref/ReferenceQueue;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public maybeClearReferenceQueues()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment;->queueForKeys:Ljava/lang/ref/ReferenceQueue;
|
|
|
|
invoke-virtual {p0, v0}, Lcom/google/common/collect/MapMakerInternalMap$Segment;->clearReferenceQueue(Ljava/lang/ref/ReferenceQueue;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public maybeDrainReferenceQueues()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment;->queueForKeys:Ljava/lang/ref/ReferenceQueue;
|
|
|
|
invoke-virtual {p0, v0}, Lcom/google/common/collect/MapMakerInternalMap$Segment;->drainKeyReferenceQueue(Ljava/lang/ref/ReferenceQueue;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic self()Lcom/google/common/collect/MapMakerInternalMap$Segment;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment;->self()Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public self()Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lcom/google/common/collect/MapMakerInternalMap$WeakKeyDummyValueSegment<",
|
|
"TK;>;"
|
|
}
|
|
.end annotation
|
|
|
|
return-object p0
|
|
.end method
|