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. |
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 |
Modifier and Type | Class and Description |
---|---|
static class |
Predicates.AndPredicate<T> |
static class |
Predicates.OrPredicate<T> |
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() |
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) |
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) |
Modifier and Type | Method and Description |
---|---|
static <T> Predicate<T> |
FilteringIterable.noDuplicatesPredicate() |
static <T> Predicate<T> |
FilteringIterable.notNullPredicate() |
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) |
Constructor and Description |
---|
FilteringIterable(Iterable<T> source,
Predicate<T> predicate) |
FilteringIterator(Iterator<T> source,
Predicate<T> predicate) |
Copyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.