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.
212 lines
4.9 KiB
212 lines
4.9 KiB
.class Lcom/google/common/base/Predicates$InPredicate; |
|
.super Ljava/lang/Object; |
|
.source "Predicates.java" |
|
|
|
# interfaces |
|
.implements Lcom/google/common/base/Predicate; |
|
.implements Ljava/io/Serializable; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/google/common/base/Predicates; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0xa |
|
name = "InPredicate" |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<T:", |
|
"Ljava/lang/Object;", |
|
">", |
|
"Ljava/lang/Object;", |
|
"Lcom/google/common/base/Predicate", |
|
"<TT;>;", |
|
"Ljava/io/Serializable;" |
|
} |
|
.end annotation |
|
|
|
|
|
# static fields |
|
.field private static final serialVersionUID:J |
|
|
|
|
|
# instance fields |
|
.field private final target:Ljava/util/Collection; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Ljava/util/Collection", |
|
"<*>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
|
|
# direct methods |
|
.method private constructor <init>(Ljava/util/Collection;)V |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Ljava/util/Collection", |
|
"<*>;)V" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 506 |
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
.line 507 |
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Ljava/util/Collection; |
|
|
|
iput-object v0, p0, Lcom/google/common/base/Predicates$InPredicate;->target:Ljava/util/Collection; |
|
|
|
.line 508 |
|
return-void |
|
.end method |
|
|
|
.method synthetic constructor <init>(Ljava/util/Collection;Lcom/google/common/base/Predicates$1;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 503 |
|
invoke-direct {p0, p1}, Lcom/google/common/base/Predicates$InPredicate;-><init>(Ljava/util/Collection;)V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public apply(Ljava/lang/Object;)Z |
|
.locals 2 |
|
.param p1 # Ljava/lang/Object; |
|
.annotation runtime Ljavax/annotation/Nullable; |
|
.end annotation |
|
.end param |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(TT;)Z" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
const/4 v0, 0x0 |
|
|
|
.line 513 |
|
:try_start_0 |
|
iget-object v1, p0, Lcom/google/common/base/Predicates$InPredicate;->target:Ljava/util/Collection; |
|
|
|
invoke-interface {v1, p1}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z |
|
:try_end_0 |
|
.catch Ljava/lang/NullPointerException; {:try_start_0 .. :try_end_0} :catch_1 |
|
.catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_0 |
|
|
|
move-result v0 |
|
|
|
.line 517 |
|
:goto_0 |
|
return v0 |
|
|
|
.line 516 |
|
:catch_0 |
|
move-exception v1 |
|
|
|
goto :goto_0 |
|
|
|
.line 514 |
|
:catch_1 |
|
move-exception v1 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public equals(Ljava/lang/Object;)Z |
|
.locals 2 |
|
.param p1 # Ljava/lang/Object; |
|
.annotation runtime Ljavax/annotation/Nullable; |
|
.end annotation |
|
.end param |
|
|
|
.prologue |
|
.line 522 |
|
instance-of v0, p1, Lcom/google/common/base/Predicates$InPredicate; |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 523 |
|
check-cast p1, Lcom/google/common/base/Predicates$InPredicate; |
|
|
|
.line 524 |
|
iget-object v0, p0, Lcom/google/common/base/Predicates$InPredicate;->target:Ljava/util/Collection; |
|
|
|
iget-object v1, p1, Lcom/google/common/base/Predicates$InPredicate;->target:Ljava/util/Collection; |
|
|
|
invoke-interface {v0, v1}, Ljava/util/Collection;->equals(Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
.line 526 |
|
:goto_0 |
|
return v0 |
|
|
|
:cond_0 |
|
const/4 v0, 0x0 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public hashCode()I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 530 |
|
iget-object v0, p0, Lcom/google/common/base/Predicates$InPredicate;->target:Ljava/util/Collection; |
|
|
|
invoke-interface {v0}, Ljava/util/Collection;->hashCode()I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public toString()Ljava/lang/String; |
|
.locals 2 |
|
|
|
.prologue |
|
.line 534 |
|
new-instance v0, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v1, "Predicates.in(" |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/google/common/base/Predicates$InPredicate;->target:Ljava/util/Collection; |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
const-string v1, ")" |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method
|
|
|