public class Predicates extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Predicates.AndPredicate<T> |
static class |
Predicates.OrPredicate<T> |
Constructor and Description |
---|
Predicates() |
Modifier and Type | Method and Description |
---|---|
static <T> Predicates.AndPredicate<T> |
and(Iterable<Predicate<T>> predicates) |
static <T> Predicates.AndPredicate<T> |
and(Predicate<T>... predicates) |
static <T> Predicate<T> |
equalTo(T allowed) |
static <T> Predicate<T> |
in(Collection<T> allowed) |
static <T> Predicate<T> |
in(Iterable<T> allowed) |
static <T> Predicate<T> |
in(T... allowed) |
static <T> Predicate<T> |
not(Predicate<T> specification) |
static <T> Predicate<T> |
notNull() |
static <T> Predicates.OrPredicate<T> |
or(Iterable<Predicate<T>> predicates) |
static <T> Predicates.OrPredicate<T> |
or(Predicate<T>... predicates) |
static Predicate<String> |
stringContains(String string) |
static <FROM,TO> Predicate<FROM> |
translate(Function<FROM,TO> function,
Predicate<? super TO> specification) |
static <T> Predicate<T> |
TRUE() |
public static <T> Predicate<T> TRUE()
public static <T> Predicates.AndPredicate<T> and(Predicate<T>... predicates)
public static <T> Predicates.AndPredicate<T> and(Iterable<Predicate<T>> predicates)
public static <T> Predicates.OrPredicate<T> or(Predicate<T>... predicates)
public static <T> Predicates.OrPredicate<T> or(Iterable<Predicate<T>> predicates)
public static <T> Predicate<T> equalTo(T allowed)
public static <T> Predicate<T> in(T... allowed)
public static <T> Predicate<T> in(Collection<T> allowed)
public static <T> Predicate<T> notNull()
public static <FROM,TO> Predicate<FROM> translate(Function<FROM,TO> function, Predicate<? super TO> specification)
Copyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.