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.
89 lines
2.3 KiB
89 lines
2.3 KiB
.class Lcom/google/common/collect/Ordering$ArbitraryOrdering$1; |
|
.super Ljava/lang/Object; |
|
.source "Ordering.java" |
|
|
|
# interfaces |
|
.implements Lcom/google/common/base/Function; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/google/common/collect/Ordering$ArbitraryOrdering; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Ljava/lang/Object;", |
|
"Lcom/google/common/base/Function", |
|
"<", |
|
"Ljava/lang/Object;", |
|
"Ljava/lang/Integer;", |
|
">;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final counter:Ljava/util/concurrent/atomic/AtomicInteger; |
|
|
|
.field final synthetic this$0:Lcom/google/common/collect/Ordering$ArbitraryOrdering; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/google/common/collect/Ordering$ArbitraryOrdering;)V |
|
.locals 2 |
|
|
|
.prologue |
|
.line 266 |
|
iput-object p1, p0, Lcom/google/common/collect/Ordering$ArbitraryOrdering$1;->this$0:Lcom/google/common/collect/Ordering$ArbitraryOrdering; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
.line 267 |
|
new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger; |
|
|
|
const/4 v1, 0x0 |
|
|
|
invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V |
|
|
|
iput-object v0, p0, Lcom/google/common/collect/Ordering$ArbitraryOrdering$1;->counter:Ljava/util/concurrent/atomic/AtomicInteger; |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public apply(Ljava/lang/Object;)Ljava/lang/Integer; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 270 |
|
iget-object v0, p0, Lcom/google/common/collect/Ordering$ArbitraryOrdering$1;->counter:Ljava/util/concurrent/atomic/AtomicInteger; |
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I |
|
|
|
move-result v0 |
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 266 |
|
invoke-virtual {p0, p1}, Lcom/google/common/collect/Ordering$ArbitraryOrdering$1;->apply(Ljava/lang/Object;)Ljava/lang/Integer; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method
|
|
|