tmap/smali_classes3/com/google/common/collect/TreeMultiset$Reference.smali
2022-06-10 21:38:30 +09:00

122 lines
2.7 KiB
Smali

.class final Lcom/google/common/collect/TreeMultiset$Reference;
.super Ljava/lang/Object;
.source "TreeMultiset.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/collect/TreeMultiset;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Reference"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# instance fields
.field private value:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.annotation runtime Ljavax/annotation/CheckForNull;
.end annotation
.end field
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lcom/google/common/collect/TreeMultiset$1;)V
.locals 0
.line 2
invoke-direct {p0}, Lcom/google/common/collect/TreeMultiset$Reference;-><init>()V
return-void
.end method
# virtual methods
.method public checkAndSet(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 1
.param p1 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/CheckForNull;
.end annotation
.end param
.param p2 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/CheckForNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lcom/google/common/collect/TreeMultiset$Reference;->value:Ljava/lang/Object;
if-ne v0, p1, :cond_0
.line 2
iput-object p2, p0, Lcom/google/common/collect/TreeMultiset$Reference;->value:Ljava/lang/Object;
return-void
.line 3
:cond_0
new-instance p1, Ljava/util/ConcurrentModificationException;
invoke-direct {p1}, Ljava/util/ConcurrentModificationException;-><init>()V
throw p1
.end method
.method public clear()V
.locals 1
const/4 v0, 0x0
.line 1
iput-object v0, p0, Lcom/google/common/collect/TreeMultiset$Reference;->value:Ljava/lang/Object;
return-void
.end method
.method public get()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.annotation runtime Ljavax/annotation/CheckForNull;
.end annotation
.line 1
iget-object v0, p0, Lcom/google/common/collect/TreeMultiset$Reference;->value:Ljava/lang/Object;
return-object v0
.end method