今奥全景相机
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.

100 lines
2.5 KiB

.class final Lcom/google/common/cache/CacheLoader$SupplierToCacheLoader;
.super Lcom/google/common/cache/CacheLoader;
.source "CacheLoader.java"
# interfaces
.implements Ljava/io/Serializable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/cache/CacheLoader;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "SupplierToCacheLoader"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">",
"Lcom/google/common/cache/CacheLoader",
"<",
"Ljava/lang/Object;",
"TV;>;",
"Ljava/io/Serializable;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J
# instance fields
.field private final computingSupplier:Lcom/google/common/base/Supplier;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/base/Supplier",
"<TV;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lcom/google/common/base/Supplier;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/base/Supplier",
"<TV;>;)V"
}
.end annotation
.prologue
.line 215
invoke-direct {p0}, Lcom/google/common/cache/CacheLoader;-><init>()V
.line 216
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/common/base/Supplier;
iput-object v0, p0, Lcom/google/common/cache/CacheLoader$SupplierToCacheLoader;->computingSupplier:Lcom/google/common/base/Supplier;
.line 217
return-void
.end method
# virtual methods
.method public load(Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
")TV;"
}
.end annotation
.prologue
.line 221
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
.line 222
iget-object v0, p0, Lcom/google/common/cache/CacheLoader$SupplierToCacheLoader;->computingSupplier:Lcom/google/common/base/Supplier;
invoke-interface {v0}, Lcom/google/common/base/Supplier;->get()Ljava/lang/Object;
move-result-object v0
return-object v0
.end method