.class final Lcom/google/common/cache/CacheLoader$FunctionToCacheLoader; .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 = "FunctionToCacheLoader" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/google/common/cache/CacheLoader", ";", "Ljava/io/Serializable;" } .end annotation # static fields .field private static final serialVersionUID:J # instance fields .field private final computingFunction:Lcom/google/common/base/Function; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/base/Function", ";" } .end annotation .end field # direct methods .method public constructor (Lcom/google/common/base/Function;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/base/Function", ";)V" } .end annotation .prologue .line 145 invoke-direct {p0}, Lcom/google/common/cache/CacheLoader;->()V .line 146 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/Function; iput-object v0, p0, Lcom/google/common/cache/CacheLoader$FunctionToCacheLoader;->computingFunction:Lcom/google/common/base/Function; .line 147 return-void .end method # virtual methods .method public load(Ljava/lang/Object;)Ljava/lang/Object; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(TK;)TV;" } .end annotation .prologue .line 151 iget-object v0, p0, Lcom/google/common/cache/CacheLoader$FunctionToCacheLoader;->computingFunction:Lcom/google/common/base/Function; invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v1 invoke-interface {v0, v1}, Lcom/google/common/base/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 return-object v0 .end method