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