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

240 lines
6.9 KiB

.class public final Lcom/google/common/base/Functions;
.super Ljava/lang/Object;
.source "Functions.java"
# annotations
.annotation build Lcom/google/common/annotations/GwtCompatible;
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/common/base/Functions$1;,
Lcom/google/common/base/Functions$SupplierFunction;,
Lcom/google/common/base/Functions$ConstantFunction;,
Lcom/google/common/base/Functions$PredicateFunction;,
Lcom/google/common/base/Functions$FunctionComposition;,
Lcom/google/common/base/Functions$ForMapWithDefault;,
Lcom/google/common/base/Functions$FunctionForMapNoDefault;,
Lcom/google/common/base/Functions$IdentityFunction;,
Lcom/google/common/base/Functions$ToStringFunction;
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.prologue
.line 45
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static compose(Lcom/google/common/base/Function;Lcom/google/common/base/Function;)Lcom/google/common/base/Function;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<A:",
"Ljava/lang/Object;",
"B:",
"Ljava/lang/Object;",
"C:",
"Ljava/lang/Object;",
">(",
"Lcom/google/common/base/Function",
"<TB;TC;>;",
"Lcom/google/common/base/Function",
"<TA;+TB;>;)",
"Lcom/google/common/base/Function",
"<TA;TC;>;"
}
.end annotation
.prologue
.line 202
new-instance v0, Lcom/google/common/base/Functions$FunctionComposition;
invoke-direct {v0, p0, p1}, Lcom/google/common/base/Functions$FunctionComposition;-><init>(Lcom/google/common/base/Function;Lcom/google/common/base/Function;)V
return-object v0
.end method
.method public static constant(Ljava/lang/Object;)Lcom/google/common/base/Function;
.locals 1
.param p0 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Object;",
">(TE;)",
"Lcom/google/common/base/Function",
"<",
"Ljava/lang/Object;",
"TE;>;"
}
.end annotation
.prologue
.line 287
new-instance v0, Lcom/google/common/base/Functions$ConstantFunction;
invoke-direct {v0, p0}, Lcom/google/common/base/Functions$ConstantFunction;-><init>(Ljava/lang/Object;)V
return-object v0
.end method
.method public static forMap(Ljava/util/Map;)Lcom/google/common/base/Function;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map",
"<TK;TV;>;)",
"Lcom/google/common/base/Function",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 108
new-instance v0, Lcom/google/common/base/Functions$FunctionForMapNoDefault;
invoke-direct {v0, p0}, Lcom/google/common/base/Functions$FunctionForMapNoDefault;-><init>(Ljava/util/Map;)V
return-object v0
.end method
.method public static forMap(Ljava/util/Map;Ljava/lang/Object;)Lcom/google/common/base/Function;
.locals 1
.param p1 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map",
"<TK;+TV;>;TV;)",
"Lcom/google/common/base/Function",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 155
new-instance v0, Lcom/google/common/base/Functions$ForMapWithDefault;
invoke-direct {v0, p0, p1}, Lcom/google/common/base/Functions$ForMapWithDefault;-><init>(Ljava/util/Map;Ljava/lang/Object;)V
return-object v0
.end method
.method public static forPredicate(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Function;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/google/common/base/Predicate",
"<TT;>;)",
"Lcom/google/common/base/Function",
"<TT;",
"Ljava/lang/Boolean;",
">;"
}
.end annotation
.prologue
.line 245
new-instance v0, Lcom/google/common/base/Functions$PredicateFunction;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/google/common/base/Functions$PredicateFunction;-><init>(Lcom/google/common/base/Predicate;Lcom/google/common/base/Functions$1;)V
return-object v0
.end method
.method public static forSupplier(Lcom/google/common/base/Supplier;)Lcom/google/common/base/Function;
.locals 2
.annotation build Lcom/google/common/annotations/Beta;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/google/common/base/Supplier",
"<TT;>;)",
"Lcom/google/common/base/Function",
"<",
"Ljava/lang/Object;",
"TT;>;"
}
.end annotation
.prologue
.line 329
new-instance v0, Lcom/google/common/base/Functions$SupplierFunction;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/google/common/base/Functions$SupplierFunction;-><init>(Lcom/google/common/base/Supplier;Lcom/google/common/base/Functions$1;)V
return-object v0
.end method
.method public static identity()Lcom/google/common/base/Function;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Object;",
">()",
"Lcom/google/common/base/Function",
"<TE;TE;>;"
}
.end annotation
.prologue
.line 80
sget-object v0, Lcom/google/common/base/Functions$IdentityFunction;->INSTANCE:Lcom/google/common/base/Functions$IdentityFunction;
return-object v0
.end method
.method public static toStringFunction()Lcom/google/common/base/Function;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/base/Function",
"<",
"Ljava/lang/Object;",
"Ljava/lang/String;",
">;"
}
.end annotation
.prologue
.line 56
sget-object v0, Lcom/google/common/base/Functions$ToStringFunction;->INSTANCE:Lcom/google/common/base/Functions$ToStringFunction;
return-object v0
.end method