T - type of items in this iterator.EXCEPTION - type of exception thrown from hasNext() and next().public interface RawIterator<T,EXCEPTION extends Exception>
| Modifier and Type | Field and Description |
|---|---|
static RawIterator<Object,Exception> |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
static <T,EXCEPTION extends Exception> |
empty() |
static <T,EX extends Exception> |
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. |
boolean |
hasNext() |
T |
next() |
static <T,EX extends Exception> |
of(T... values) |
default void |
remove() |
static final RawIterator<Object,Exception> EMPTY
default void remove()
static <T,EXCEPTION extends Exception> RawIterator<T,EXCEPTION> empty()
static <T,EX extends Exception> RawIterator<T,EX> of(T... values)
static <T,EX extends Exception> RawIterator<T,EX> from(org.neo4j.function.ThrowingSupplier<T,EX> supplier)
ThrowingSupplier - the iterator will end
when the supplier returns null.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.