org.neo4j.server.rest.paging
Class PagedTraverser

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean hasNext()
           
 Iterator<List<org.neo4j.graphdb.Path>> iterator()
           
 List<org.neo4j.graphdb.Path> next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagedTraverser

public PagedTraverser(org.neo4j.graphdb.traversal.Traverser traverser,
                      int pageSize)
Method Detail

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-2013 The Neo4j Graph Database Project. All Rights Reserved.