tmap/smali_classes3/com/google/common/hash/LongAddables$PureJavaLongAddable.smali
2022-06-10 21:38:30 +09:00

69 lines
1.4 KiB
Smali

.class final Lcom/google/common/hash/LongAddables$PureJavaLongAddable;
.super Ljava/util/concurrent/atomic/AtomicLong;
.source "LongAddables.java"
# interfaces
.implements Lcom/google/common/hash/LongAddable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/hash/LongAddables;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "PureJavaLongAddable"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lcom/google/common/hash/LongAddables$1;)V
.locals 0
.line 2
invoke-direct {p0}, Lcom/google/common/hash/LongAddables$PureJavaLongAddable;-><init>()V
return-void
.end method
# virtual methods
.method public add(J)V
.locals 0
.line 1
invoke-virtual {p0, p1, p2}, Ljava/util/concurrent/atomic/AtomicLong;->getAndAdd(J)J
return-void
.end method
.method public increment()V
.locals 0
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->getAndIncrement()J
return-void
.end method
.method public sum()J
.locals 2
.line 1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide v0
return-wide v0
.end method