T - the type of items in this Iterable.public class LimitingResourceIterable<T> extends Object implements org.neo4j.graphdb.ResourceIterable<T>
ResourceIterable, or rather
ResourceIterators spawned from it.LimitingResourceIterator| Constructor and Description |
|---|
LimitingResourceIterable(org.neo4j.graphdb.ResourceIterable<T> source,
int limit)
Instantiates a new limiting
Iterable which can limit the number
of items returned from iterators it spawns. |
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.graphdb.ResourceIterator<T> |
iterator() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic LimitingResourceIterable(org.neo4j.graphdb.ResourceIterable<T> source, int limit)
Iterable which can limit the number
of items returned from iterators it spawns.source - the source of items.limit - the limit, i.e. the max number of items to return.Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.