org.neo4j.server.rest.paging
Class PagedTraverser
java.lang.Object
org.neo4j.server.rest.paging.PagedTraverser
- All Implemented Interfaces:
- Iterable<List<org.neo4j.graphdb.Path>>, Iterator<List<org.neo4j.graphdb.Path>>, Leasable
public class PagedTraverser
- extends Object
- implements Iterator<List<org.neo4j.graphdb.Path>>, Iterable<List<org.neo4j.graphdb.Path>>, Leasable
|
Constructor Summary |
PagedTraverser(org.neo4j.graphdb.traversal.Traverser traverser,
int pageSize)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagedTraverser
public PagedTraverser(org.neo4j.graphdb.traversal.Traverser traverser,
int pageSize)
next
public List<org.neo4j.graphdb.Path> next()
- Specified by:
next in interface Iterator<List<org.neo4j.graphdb.Path>>
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<List<org.neo4j.graphdb.Path>>
remove
public void remove()
- Specified by:
remove in interface Iterator<List<org.neo4j.graphdb.Path>>
iterator
public Iterator<List<org.neo4j.graphdb.Path>> iterator()
- Specified by:
iterator in interface Iterable<List<org.neo4j.graphdb.Path>>
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.