| Package | Description |
|---|---|
| org.neo4j.collection | |
| org.neo4j.helpers.collection |
Collections utilities - Iterator/Iterable utilities and creating
Maps. |
| Modifier and Type | Class and Description |
|---|---|
class |
PrefetchingRawIterator<T,EXCEPTION extends Exception> |
| Modifier and Type | Field and Description |
|---|---|
static RawIterator<Object,Exception> |
RawIterator.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
static <T,EXCEPTION extends Exception> |
RawIterator.empty() |
static <T,EX extends Exception> |
RawIterator.from(org.neo4j.function.ThrowingSupplier<T,EX> supplier)
Create a raw iterator from the provided
ThrowingSupplier - the iterator will end
when the supplier returns null. |
static <T,EX extends Exception> |
RawIterator.of(T... values) |
static <T,EX extends Exception> |
RawIterator.wrap(Iterator<T> iterator)
Create a raw iterator from a regular iterator, assuming no exceptions are being thrown
|
| Modifier and Type | Method and Description |
|---|---|
static <T,EX extends Exception> |
Iterators.asRawIterator(Iterator<T> iter) |
static <FROM,TO,EX extends Exception> |
Iterators.map(org.neo4j.function.ThrowingFunction<? super FROM,? extends TO,EX> function,
RawIterator<FROM,EX> from) |
| Modifier and Type | Method and Description |
|---|---|
static <T,EX extends Exception> |
Iterators.asList(RawIterator<T,EX> iterator) |
static <FROM,TO,EX extends Exception> |
Iterators.map(org.neo4j.function.ThrowingFunction<? super FROM,? extends TO,EX> function,
RawIterator<FROM,EX> from) |
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.