Predicates.OrPredicate (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

org.neo4j.helpers

## Class Predicates.OrPredicate<T>

- java.lang.Object
- - org.neo4j.helpers.Predicates.OrPredicate<T>

- All Implemented Interfaces:
    Predicate<T>
  Enclosing class:
    Predicates

      public static class Predicates.OrPredicate<T>
      extends Object
      implements Predicate<T>

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `accept(T instance)`
    `Predicates.AndPredicate<T>` | `and(Predicate<T>... predicates)`
    `Predicates.OrPredicate<T>` | `or(Predicate<T>... predicates)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### accept

          public boolean accept(T instance)

      Specified by:
        `accept` in interface `Predicate<T>`
      Returns:
        whether or not to accept the `item`, where `true` means that the `item` is accepted and `false` means that it's not (i.e. didn't pass the filter).

    - #### and

          public Predicates.AndPredicate<T> and(Predicate<T>... predicates)

    - #### or

          public Predicates.OrPredicate<T> or(Predicate<T>... predicates)

Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.