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.
726 lines
20 KiB
726 lines
20 KiB
2 years ago
|
.class public final Lcom/google/common/base/Predicates;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "Predicates.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation build Lcom/google/common/annotations/GwtCompatible;
|
||
|
emulated = true
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/MemberClasses;
|
||
|
value = {
|
||
|
Lcom/google/common/base/Predicates$1;,
|
||
|
Lcom/google/common/base/Predicates$ContainsPatternFromStringPredicate;,
|
||
|
Lcom/google/common/base/Predicates$ContainsPatternPredicate;,
|
||
|
Lcom/google/common/base/Predicates$CompositionPredicate;,
|
||
|
Lcom/google/common/base/Predicates$InPredicate;,
|
||
|
Lcom/google/common/base/Predicates$AssignableFromPredicate;,
|
||
|
Lcom/google/common/base/Predicates$InstanceOfPredicate;,
|
||
|
Lcom/google/common/base/Predicates$IsEqualToPredicate;,
|
||
|
Lcom/google/common/base/Predicates$OrPredicate;,
|
||
|
Lcom/google/common/base/Predicates$AndPredicate;,
|
||
|
Lcom/google/common/base/Predicates$NotPredicate;,
|
||
|
Lcom/google/common/base/Predicates$ObjectPredicate;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field private static final COMMA_JOINER:Lcom/google/common/base/Joiner;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method static constructor <clinit>()V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 346
|
||
|
const/16 v0, 0x2c
|
||
|
|
||
|
invoke-static {v0}, Lcom/google/common/base/Joiner;->on(C)Lcom/google/common/base/Joiner;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
sput-object v0, Lcom/google/common/base/Predicates;->COMMA_JOINER:Lcom/google/common/base/Joiner;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 49
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method static synthetic access$800()Lcom/google/common/base/Joiner;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 48
|
||
|
sget-object v0, Lcom/google/common/base/Predicates;->COMMA_JOINER:Lcom/google/common/base/Joiner;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static alwaysFalse()Lcom/google/common/base/Predicate;
|
||
|
.locals 1
|
||
|
.annotation build Lcom/google/common/annotations/GwtCompatible;
|
||
|
serializable = true
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">()",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 67
|
||
|
sget-object v0, Lcom/google/common/base/Predicates$ObjectPredicate;->ALWAYS_FALSE:Lcom/google/common/base/Predicates$ObjectPredicate;
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/google/common/base/Predicates$ObjectPredicate;->withNarrowedType()Lcom/google/common/base/Predicate;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static alwaysTrue()Lcom/google/common/base/Predicate;
|
||
|
.locals 1
|
||
|
.annotation build Lcom/google/common/annotations/GwtCompatible;
|
||
|
serializable = true
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">()",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 59
|
||
|
sget-object v0, Lcom/google/common/base/Predicates$ObjectPredicate;->ALWAYS_TRUE:Lcom/google/common/base/Predicates$ObjectPredicate;
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/google/common/base/Predicates$ObjectPredicate;->withNarrowedType()Lcom/google/common/base/Predicate;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static and(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<-TT;>;",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<-TT;>;)",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 131
|
||
|
new-instance v2, Lcom/google/common/base/Predicates$AndPredicate;
|
||
|
|
||
|
invoke-static {p0}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Lcom/google/common/base/Predicate;
|
||
|
|
||
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Lcom/google/common/base/Predicate;
|
||
|
|
||
|
invoke-static {v0, v1}, Lcom/google/common/base/Predicates;->asList(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Ljava/util/List;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v2, v0, v1}, Lcom/google/common/base/Predicates$AndPredicate;-><init>(Ljava/util/List;Lcom/google/common/base/Predicates$1;)V
|
||
|
|
||
|
return-object v2
|
||
|
.end method
|
||
|
|
||
|
.method public static and(Ljava/lang/Iterable;)Lcom/google/common/base/Predicate;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/lang/Iterable",
|
||
|
"<+",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<-TT;>;>;)",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 107
|
||
|
new-instance v0, Lcom/google/common/base/Predicates$AndPredicate;
|
||
|
|
||
|
invoke-static {p0}, Lcom/google/common/base/Predicates;->defensiveCopy(Ljava/lang/Iterable;)Ljava/util/List;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Lcom/google/common/base/Predicates$AndPredicate;-><init>(Ljava/util/List;Lcom/google/common/base/Predicates$1;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static varargs and([Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">([",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<-TT;>;)",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 120
|
||
|
new-instance v0, Lcom/google/common/base/Predicates$AndPredicate;
|
||
|
|
||
|
invoke-static {p0}, Lcom/google/common/base/Predicates;->defensiveCopy([Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Lcom/google/common/base/Predicates$AndPredicate;-><init>(Ljava/util/List;Lcom/google/common/base/Predicates$1;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method private static asList(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Ljava/util/List;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<-TT;>;",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<-TT;>;)",
|
||
|
"Ljava/util/List",
|
||
|
"<",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<-TT;>;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 638
|
||
|
const/4 v0, 0x2
|
||
|
|
||
|
new-array v0, v0, [Lcom/google/common/base/Predicate;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
aput-object p0, v0, v1
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
aput-object p1, v0, v1
|
||
|
|
||
|
invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static assignableFrom(Ljava/lang/Class;)Lcom/google/common/base/Predicate;
|
||
|
.locals 2
|
||
|
.annotation build Lcom/google/common/annotations/Beta;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation build Lcom/google/common/annotations/GwtIncompatible;
|
||
|
value = "Class.isAssignableFrom"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/Class",
|
||
|
"<*>;)",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<",
|
||
|
"Ljava/lang/Class",
|
||
|
"<*>;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 214
|
||
|
new-instance v0, Lcom/google/common/base/Predicates$AssignableFromPredicate;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p0, v1}, Lcom/google/common/base/Predicates$AssignableFromPredicate;-><init>(Ljava/lang/Class;Lcom/google/common/base/Predicates$1;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static compose(Lcom/google/common/base/Predicate;Lcom/google/common/base/Function;)Lcom/google/common/base/Predicate;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<A:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"B:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TB;>;",
|
||
|
"Lcom/google/common/base/Function",
|
||
|
"<TA;+TB;>;)",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TA;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 242
|
||
|
new-instance v0, Lcom/google/common/base/Predicates$CompositionPredicate;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p0, p1, v1}, Lcom/google/common/base/Predicates$CompositionPredicate;-><init>(Lcom/google/common/base/Predicate;Lcom/google/common/base/Function;Lcom/google/common/base/Predicates$1;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static contains(Ljava/util/regex/Pattern;)Lcom/google/common/base/Predicate;
|
||
|
.locals 1
|
||
|
.annotation build Lcom/google/common/annotations/GwtIncompatible;
|
||
|
value = "java.util.regex.Pattern"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/util/regex/Pattern;",
|
||
|
")",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 269
|
||
|
new-instance v0, Lcom/google/common/base/Predicates$ContainsPatternPredicate;
|
||
|
|
||
|
invoke-direct {v0, p0}, Lcom/google/common/base/Predicates$ContainsPatternPredicate;-><init>(Ljava/util/regex/Pattern;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static containsPattern(Ljava/lang/String;)Lcom/google/common/base/Predicate;
|
||
|
.locals 1
|
||
|
.annotation build Lcom/google/common/annotations/GwtIncompatible;
|
||
|
value = "java.util.regex.Pattern"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/String;",
|
||
|
")",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<",
|
||
|
"Ljava/lang/CharSequence;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 256
|
||
|
new-instance v0, Lcom/google/common/base/Predicates$ContainsPatternFromStringPredicate;
|
||
|
|
||
|
invoke-direct {v0, p0}, Lcom/google/common/base/Predicates$ContainsPatternFromStringPredicate;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method static defensiveCopy(Ljava/lang/Iterable;)Ljava/util/List;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/lang/Iterable",
|
||
|
"<TT;>;)",
|
||
|
"Ljava/util/List",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 646
|
||
|
new-instance v0, Ljava/util/ArrayList;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||
|
|
||
|
.line 647
|
||
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 648
|
||
|
invoke-static {v2}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 650
|
||
|
:cond_0
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method private static varargs defensiveCopy([Ljava/lang/Object;)Ljava/util/List;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">([TT;)",
|
||
|
"Ljava/util/List",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 642
|
||
|
invoke-static {p0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-static {v0}, Lcom/google/common/base/Predicates;->defensiveCopy(Ljava/lang/Iterable;)Ljava/util/List;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static equalTo(Ljava/lang/Object;)Lcom/google/common/base/Predicate;
|
||
|
.locals 2
|
||
|
.param p0 # Ljava/lang/Object;
|
||
|
.annotation runtime Ljavax/annotation/Nullable;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(TT;)",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 179
|
||
|
if-nez p0, :cond_0
|
||
|
|
||
|
invoke-static {}, Lcom/google/common/base/Predicates;->isNull()Lcom/google/common/base/Predicate;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
:goto_0
|
||
|
return-object v0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v0, Lcom/google/common/base/Predicates$IsEqualToPredicate;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p0, v1}, Lcom/google/common/base/Predicates$IsEqualToPredicate;-><init>(Ljava/lang/Object;Lcom/google/common/base/Predicates$1;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|
||
|
|
||
|
.method public static in(Ljava/util/Collection;)Lcom/google/common/base/Predicate;
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/util/Collection",
|
||
|
"<+TT;>;)",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 231
|
||
|
new-instance v0, Lcom/google/common/base/Predicates$InPredicate;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p0, v1}, Lcom/google/common/base/Predicates$InPredicate;-><init>(Ljava/util/Collection;Lcom/google/common/base/Predicates$1;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static instanceOf(Ljava/lang/Class;)Lcom/google/common/base/Predicate;
|
||
|
.locals 2
|
||
|
.annotation build Lcom/google/common/annotations/GwtIncompatible;
|
||
|
value = "Class.isInstance"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/Class",
|
||
|
"<*>;)",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<",
|
||
|
"Ljava/lang/Object;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 201
|
||
|
new-instance v0, Lcom/google/common/base/Predicates$InstanceOfPredicate;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, p0, v1}, Lcom/google/common/base/Predicates$InstanceOfPredicate;-><init>(Ljava/lang/Class;Lcom/google/common/base/Predicates$1;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static isNull()Lcom/google/common/base/Predicate;
|
||
|
.locals 1
|
||
|
.annotation build Lcom/google/common/annotations/GwtCompatible;
|
||
|
serializable = true
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">()",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 76
|
||
|
sget-object v0, Lcom/google/common/base/Predicates$ObjectPredicate;->IS_NULL:Lcom/google/common/base/Predicates$ObjectPredicate;
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/google/common/base/Predicates$ObjectPredicate;->withNarrowedType()Lcom/google/common/base/Predicate;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static not(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;)",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 93
|
||
|
new-instance v0, Lcom/google/common/base/Predicates$NotPredicate;
|
||
|
|
||
|
invoke-direct {v0, p0}, Lcom/google/common/base/Predicates$NotPredicate;-><init>(Lcom/google/common/base/Predicate;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static notNull()Lcom/google/common/base/Predicate;
|
||
|
.locals 1
|
||
|
.annotation build Lcom/google/common/annotations/GwtCompatible;
|
||
|
serializable = true
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">()",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 85
|
||
|
sget-object v0, Lcom/google/common/base/Predicates$ObjectPredicate;->NOT_NULL:Lcom/google/common/base/Predicates$ObjectPredicate;
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/google/common/base/Predicates$ObjectPredicate;->withNarrowedType()Lcom/google/common/base/Predicate;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static or(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<-TT;>;",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<-TT;>;)",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 170
|
||
|
new-instance v2, Lcom/google/common/base/Predicates$OrPredicate;
|
||
|
|
||
|
invoke-static {p0}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Lcom/google/common/base/Predicate;
|
||
|
|
||
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Lcom/google/common/base/Predicate;
|
||
|
|
||
|
invoke-static {v0, v1}, Lcom/google/common/base/Predicates;->asList(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Ljava/util/List;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v2, v0, v1}, Lcom/google/common/base/Predicates$OrPredicate;-><init>(Ljava/util/List;Lcom/google/common/base/Predicates$1;)V
|
||
|
|
||
|
return-object v2
|
||
|
.end method
|
||
|
|
||
|
.method public static or(Ljava/lang/Iterable;)Lcom/google/common/base/Predicate;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(",
|
||
|
"Ljava/lang/Iterable",
|
||
|
"<+",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<-TT;>;>;)",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 146
|
||
|
new-instance v0, Lcom/google/common/base/Predicates$OrPredicate;
|
||
|
|
||
|
invoke-static {p0}, Lcom/google/common/base/Predicates;->defensiveCopy(Ljava/lang/Iterable;)Ljava/util/List;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Lcom/google/common/base/Predicates$OrPredicate;-><init>(Ljava/util/List;Lcom/google/common/base/Predicates$1;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static varargs or([Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
|
||
|
.locals 3
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">([",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<-TT;>;)",
|
||
|
"Lcom/google/common/base/Predicate",
|
||
|
"<TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 159
|
||
|
new-instance v0, Lcom/google/common/base/Predicates$OrPredicate;
|
||
|
|
||
|
invoke-static {p0}, Lcom/google/common/base/Predicates;->defensiveCopy([Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Lcom/google/common/base/Predicates$OrPredicate;-><init>(Ljava/util/List;Lcom/google/common/base/Predicates$1;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|