107 lines
2.9 KiB
Smali
107 lines
2.9 KiB
Smali
.class public final Lcom/google/common/util/concurrent/Atomics;
|
|
.super Ljava/lang/Object;
|
|
.source "Atomics.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Lcom/google/common/annotations/GwtIncompatible;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/common/util/concurrent/ElementTypesAreNonnullByDefault;
|
|
.end annotation
|
|
|
|
|
|
# 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 static newReference()Ljava/util/concurrent/atomic/AtomicReference;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<V:",
|
|
"Ljava/lang/Object;",
|
|
">()",
|
|
"Ljava/util/concurrent/atomic/AtomicReference<",
|
|
"TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static newReference(Ljava/lang/Object;)Ljava/util/concurrent/atomic/AtomicReference;
|
|
.locals 1
|
|
.param p0 # Ljava/lang/Object;
|
|
.annotation runtime Lcom/google/common/util/concurrent/ParametricNullness;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<V:",
|
|
"Ljava/lang/Object;",
|
|
">(TV;)",
|
|
"Ljava/util/concurrent/atomic/AtomicReference<",
|
|
"TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 2
|
|
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static newReferenceArray(I)Ljava/util/concurrent/atomic/AtomicReferenceArray;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E:",
|
|
"Ljava/lang/Object;",
|
|
">(I)",
|
|
"Ljava/util/concurrent/atomic/AtomicReferenceArray<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/util/concurrent/atomic/AtomicReferenceArray;
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceArray;-><init>(I)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static newReferenceArray([Ljava/lang/Object;)Ljava/util/concurrent/atomic/AtomicReferenceArray;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E:",
|
|
"Ljava/lang/Object;",
|
|
">([TE;)",
|
|
"Ljava/util/concurrent/atomic/AtomicReferenceArray<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 2
|
|
new-instance v0, Ljava/util/concurrent/atomic/AtomicReferenceArray;
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceArray;-><init>([Ljava/lang/Object;)V
|
|
|
|
return-object v0
|
|
.end method
|