Uses of Interface org.neo4j.helpers.Predicate (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

## Uses of Interface
org.neo4j.helpers.Predicate

- Packages that use Predicate
  Package | Description
  --- | ---
  org.neo4j.graphdb | The core graph database API.
  org.neo4j.helpers | Common Java utilities.
  org.neo4j.helpers.collection | Collections utilities - Iterator/Iterable utilities and creating `Map`s.

- - ### Uses of Predicate in org.neo4j.graphdb

    Methods in org.neo4j.graphdb with parameters of type Predicate
    Modifier and Type | Method and Description
    --- | ---
    `Expander` | Expander.`addNodeFilter(Predicate<? super Node> filter)` Deprecated. Add a `Node` filter.
    `Expander` | Expander.`addRelationshipFilter(Predicate<? super Relationship> filter)` Deprecated. Add a `Relationship` filter.
    `Expander` | Expander.`addRelationsipFilter(Predicate<? super Relationship> filter)` Deprecated. because of typo, use `Expander.addRelationshipFilter(Predicate)` instead

  - ### Uses of Predicate in org.neo4j.helpers

    Classes in org.neo4j.helpers that implement Predicate
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Predicates.AndPredicate<T>`
    `static class` | `Predicates.OrPredicate<T>`

    Methods in org.neo4j.helpers that return Predicate
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Predicate<T>` | Predicates.`equalTo(T allowed)`
    `static Predicate<Throwable>` | Exceptions.`exceptionsOfType(Class<? extends Throwable>... types)`
    `static <T> Predicate<T>` | Predicates.`in(Collection<T> allowed)`
    `static <T> Predicate<T>` | Predicates.`in(Iterable<T> allowed)`
    `static <T> Predicate<T>` | Predicates.`in(T... allowed)`
    `static Predicate<Throwable>` | Exceptions.`isAnyOfClasses(Class... anyOfTheseClasses)`
    `static <T> Predicate<T>` | Predicates.`not(Predicate<T> specification)`
    `static <T> Predicate<T>` | Predicates.`notNull()`
    `static Predicate<String>` | Predicates.`stringContains(String string)`
    `static <FROM,TO> Predicate<FROM>` | Predicates.`translate(Function<FROM,TO> function, Predicate<? super TO> specification)`
    `static <T> Predicate<T>` | Predicates.`TRUE()`

    Methods in org.neo4j.helpers with parameters of type Predicate
    Modifier and Type | Method and Description
    --- | ---
    `Predicates.AndPredicate<T>` | Predicates.AndPredicate.`and(Predicate<T>... predicates)`
    `Predicates.AndPredicate<T>` | Predicates.OrPredicate.`and(Predicate<T>... predicates)`
    `static <T> Predicates.AndPredicate<T>` | Predicates.`and(Predicate<T>... predicates)`
    `static boolean` | Exceptions.`contains(Throwable cause, Predicate<Throwable> toLookFor)`
    `static <T> Predicate<T>` | Predicates.`not(Predicate<T> specification)`
    `Predicates.OrPredicate<T>` | Predicates.AndPredicate.`or(Predicate<T>... predicates)`
    `Predicates.OrPredicate<T>` | Predicates.OrPredicate.`or(Predicate<T>... predicates)`
    `static <T> Predicates.OrPredicate<T>` | Predicates.`or(Predicate<T>... predicates)`
    `static Throwable` | Exceptions.`peel(Throwable exception, Predicate<Throwable> toPeel)` Peels off layers of causes.
    `static <FROM,TO> Predicate<FROM>` | Predicates.`translate(Function<FROM,TO> function, Predicate<? super TO> specification)`

    Method parameters in org.neo4j.helpers with type arguments of type Predicate
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Predicates.AndPredicate<T>` | Predicates.`and(Iterable<Predicate<T>> predicates)`
    `static <T> Predicates.OrPredicate<T>` | Predicates.`or(Iterable<Predicate<T>> predicates)`

  - ### Uses of Predicate in org.neo4j.helpers.collection

    Methods in org.neo4j.helpers.collection that return Predicate
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Predicate<T>` | FilteringIterable.`noDuplicatesPredicate()`
    `static <T> Predicate<T>` | FilteringIterable.`notNullPredicate()`

    Methods in org.neo4j.helpers.collection with parameters of type Predicate
    Modifier and Type | Method and Description
    --- | ---
    `static <X> Iterable<X>` | Iterables.`filter(Predicate<? super X> specification, Iterable<X> i)`
    `static <X> Iterator<X>` | Iterables.`filter(Predicate<? super X> specification, Iterator<X> i)`

    Constructors in org.neo4j.helpers.collection with parameters of type Predicate
    Constructor and Description
    `FilteringIterable(Iterable<T> source, Predicate<T> predicate)`
    `FilteringIterator(Iterator<T> source, Predicate<T> predicate)`

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