.class Lcom/google/common/base/Predicates$OrPredicate; .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 = "OrPredicate" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lcom/google/common/base/Predicate", ";", "Ljava/io/Serializable;" } .end annotation # static fields .field private static final serialVersionUID:J # instance fields .field private final components:Ljava/util/List; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/List", "<+", "Lcom/google/common/base/Predicate", "<-TT;>;>;" } .end annotation .end field # direct methods .method private constructor (Ljava/util/List;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List", "<+", "Lcom/google/common/base/Predicate", "<-TT;>;>;)V" } .end annotation .prologue .line 386 invoke-direct {p0}, Ljava/lang/Object;->()V .line 387 iput-object p1, p0, Lcom/google/common/base/Predicates$OrPredicate;->components:Ljava/util/List; .line 388 return-void .end method .method synthetic constructor (Ljava/util/List;Lcom/google/common/base/Predicates$1;)V .locals 0 .prologue .line 383 invoke-direct {p0, p1}, Lcom/google/common/base/Predicates$OrPredicate;->(Ljava/util/List;)V return-void .end method # virtual methods .method public apply(Ljava/lang/Object;)Z .locals 3 .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 v2, 0x0 .line 392 move v1, v2 :goto_0 iget-object v0, p0, Lcom/google/common/base/Predicates$OrPredicate;->components:Ljava/util/List; invoke-interface {v0}, Ljava/util/List;->size()I move-result v0 if-ge v1, v0, :cond_0 .line 393 iget-object v0, p0, Lcom/google/common/base/Predicates$OrPredicate;->components:Ljava/util/List; invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/google/common/base/Predicate; invoke-interface {v0, p1}, Lcom/google/common/base/Predicate;->apply(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_1 .line 394 const/4 v2, 0x1 .line 397 :cond_0 return v2 .line 392 :cond_1 add-int/lit8 v0, v1, 0x1 move v1, v0 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 404 instance-of v0, p1, Lcom/google/common/base/Predicates$OrPredicate; if-eqz v0, :cond_0 .line 405 check-cast p1, Lcom/google/common/base/Predicates$OrPredicate; .line 406 iget-object v0, p0, Lcom/google/common/base/Predicates$OrPredicate;->components:Ljava/util/List; iget-object v1, p1, Lcom/google/common/base/Predicates$OrPredicate;->components:Ljava/util/List; invoke-interface {v0, v1}, Ljava/util/List;->equals(Ljava/lang/Object;)Z move-result v0 .line 408 :goto_0 return v0 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method .method public hashCode()I .locals 2 .prologue .line 401 iget-object v0, p0, Lcom/google/common/base/Predicates$OrPredicate;->components:Ljava/util/List; invoke-interface {v0}, Ljava/util/List;->hashCode()I move-result v0 const v1, 0x53c91cf add-int/2addr v0, v1 return v0 .end method .method public toString()Ljava/lang/String; .locals 3 .prologue .line 411 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v1, "Predicates.or(" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 invoke-static {}, Lcom/google/common/base/Predicates;->access$800()Lcom/google/common/base/Joiner; move-result-object v1 iget-object v2, p0, Lcom/google/common/base/Predicates$OrPredicate;->components:Ljava/util/List; invoke-virtual {v1, v2}, Lcom/google/common/base/Joiner;->join(Ljava/lang/Iterable;)Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)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