org.neo4j.helpers
Class Predicates.OrPredicate<T>

java.lang.Object
  extended by 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
 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
clone, equals, finalize, 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-2013 The Neo4j Graph Database Project. All Rights Reserved.