You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1.5 KiB
76 lines
1.5 KiB
2 years ago
|
.class final Lcom/google/common/cache/LongAddables$PureJavaLongAddable;
|
||
|
.super Ljava/util/concurrent/atomic/AtomicLong;
|
||
|
.source "LongAddables.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lcom/google/common/cache/LongAddable;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/google/common/cache/LongAddables;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x1a
|
||
|
name = "PureJavaLongAddable"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method private constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 59
|
||
|
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method synthetic constructor <init>(Lcom/google/common/cache/LongAddables$1;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 59
|
||
|
invoke-direct {p0}, Lcom/google/common/cache/LongAddables$PureJavaLongAddable;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public add(J)V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 67
|
||
|
invoke-virtual {p0, p1, p2}, Lcom/google/common/cache/LongAddables$PureJavaLongAddable;->getAndAdd(J)J
|
||
|
|
||
|
.line 68
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public increment()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 62
|
||
|
invoke-virtual {p0}, Lcom/google/common/cache/LongAddables$PureJavaLongAddable;->getAndIncrement()J
|
||
|
|
||
|
.line 63
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public sum()J
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 72
|
||
|
invoke-virtual {p0}, Lcom/google/common/cache/LongAddables$PureJavaLongAddable;->get()J
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
return-wide v0
|
||
|
.end method
|