82 lines
2.1 KiB
Smali
82 lines
2.1 KiB
Smali
.class public final Lcom/google/common/collect/RegularImmutableMap$KeysOrValuesAsList;
|
|
.super Lcom/google/common/collect/ImmutableList;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/common/collect/RegularImmutableMap;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "KeysOrValuesAsList"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final transient alternatingKeysAndValues:[Ljava/lang/Object;
|
|
|
|
.field public final transient offset:I
|
|
|
|
.field public final transient size:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>([Ljava/lang/Object;II)V
|
|
.locals 0
|
|
|
|
.line 475
|
|
invoke-direct {p0}, Lcom/google/common/collect/ImmutableList;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/common/collect/RegularImmutableMap$KeysOrValuesAsList;->alternatingKeysAndValues:[Ljava/lang/Object;
|
|
|
|
iput p2, p0, Lcom/google/common/collect/RegularImmutableMap$KeysOrValuesAsList;->offset:I
|
|
|
|
iput p3, p0, Lcom/google/common/collect/RegularImmutableMap$KeysOrValuesAsList;->size:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public get(I)Ljava/lang/Object;
|
|
.locals 2
|
|
|
|
iget v0, p0, Lcom/google/common/collect/RegularImmutableMap$KeysOrValuesAsList;->size:I
|
|
|
|
.line 483
|
|
invoke-static {p1, v0}, Lcom/google/common/base/Preconditions;->checkElementIndex(II)I
|
|
|
|
iget-object v0, p0, Lcom/google/common/collect/RegularImmutableMap$KeysOrValuesAsList;->alternatingKeysAndValues:[Ljava/lang/Object;
|
|
|
|
mul-int/lit8 p1, p1, 0x2
|
|
|
|
iget v1, p0, Lcom/google/common/collect/RegularImmutableMap$KeysOrValuesAsList;->offset:I
|
|
|
|
add-int/2addr p1, v1
|
|
|
|
.line 485
|
|
aget-object p1, v0, p1
|
|
|
|
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public isPartialView()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public size()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/google/common/collect/RegularImmutableMap$KeysOrValuesAsList;->size:I
|
|
|
|
return v0
|
|
.end method
|