Rabbit-R1/android (non root)/smali/smali_classes3/com/google/common/collect/HashBiMap$KeySet.smali
2024-05-21 17:08:36 -04:00

120 lines
3.1 KiB
Smali

.class final Lcom/google/common/collect/HashBiMap$KeySet;
.super Lcom/google/common/collect/HashBiMap$View;
.source "HashBiMap.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/collect/HashBiMap;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x10
name = "KeySet"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/HashBiMap$View<",
"TK;TV;TK;>;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/google/common/collect/HashBiMap;
# direct methods
.method constructor <init>(Lcom/google/common/collect/HashBiMap;)V
.locals 0
iput-object p1, p0, Lcom/google/common/collect/HashBiMap$KeySet;->this$0:Lcom/google/common/collect/HashBiMap;
.line 762
invoke-direct {p0, p1}, Lcom/google/common/collect/HashBiMap$View;-><init>(Lcom/google/common/collect/HashBiMap;)V
return-void
.end method
# virtual methods
.method public contains(Ljava/lang/Object;)Z
.locals 0
.param p1 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/CheckForNull;
.end annotation
.end param
iget-object p0, p0, Lcom/google/common/collect/HashBiMap$KeySet;->this$0:Lcom/google/common/collect/HashBiMap;
.line 774
invoke-virtual {p0, p1}, Lcom/google/common/collect/HashBiMap;->containsKey(Ljava/lang/Object;)Z
move-result p0
return p0
.end method
.method forEntry(I)Ljava/lang/Object;
.locals 0
.annotation runtime Lcom/google/common/collect/ParametricNullness;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)TK;"
}
.end annotation
iget-object p0, p0, Lcom/google/common/collect/HashBiMap$KeySet;->this$0:Lcom/google/common/collect/HashBiMap;
.line 769
iget-object p0, p0, Lcom/google/common/collect/HashBiMap;->keys:[Ljava/lang/Object;
aget-object p0, p0, p1
invoke-static {p0}, Lcom/google/common/collect/NullnessCasts;->uncheckedCastNullableTToT(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public remove(Ljava/lang/Object;)Z
.locals 2
.param p1 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/CheckForNull;
.end annotation
.end param
.line 779
invoke-static {p1}, Lcom/google/common/collect/Hashing;->smearedHash(Ljava/lang/Object;)I
move-result v0
iget-object v1, p0, Lcom/google/common/collect/HashBiMap$KeySet;->this$0:Lcom/google/common/collect/HashBiMap;
.line 780
invoke-virtual {v1, p1, v0}, Lcom/google/common/collect/HashBiMap;->findEntryByKey(Ljava/lang/Object;I)I
move-result p1
const/4 v1, -0x1
if-eq p1, v1, :cond_0
iget-object p0, p0, Lcom/google/common/collect/HashBiMap$KeySet;->this$0:Lcom/google/common/collect/HashBiMap;
.line 782
invoke-virtual {p0, p1, v0}, Lcom/google/common/collect/HashBiMap;->removeEntryKeyHashKnown(II)V
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
.end method