T - the type of items in the iteration.public class FilteringIterable<T> extends Object implements Iterable<T>
| Constructor and Description |
|---|
FilteringIterable(Iterable<T> source,
Predicate<T> predicate)
Deprecated.
use
FilteringIterable(Iterable, Predicate) instead |
FilteringIterable(Iterable<T> source,
org.neo4j.function.Predicate<T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<T> |
iterator() |
static <T> Iterable<T> |
noDuplicates(Iterable<T> source) |
static <T> Predicate<T> |
noDuplicatesPredicate()
Deprecated.
use
Predicates.noDuplicates() instead |
static <T> Iterable<T> |
notNull(Iterable<T> source) |
static <T> Predicate<T> |
notNullPredicate()
Deprecated.
use
Predicates.notNull() instead |
@Deprecated public FilteringIterable(Iterable<T> source, Predicate<T> predicate)
FilteringIterable(Iterable, Predicate) insteadsource - iterable to fetch items frompredicate - filter to decide which items to pass through@Deprecated public static <T> Predicate<T> noDuplicatesPredicate()
Predicates.noDuplicates() insteadT - the type of the elements@Deprecated public static <T> Predicate<T> notNullPredicate()
Predicates.notNull() insteadT - the type of the elementsnullsCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.