org.neo4j.server.rest.paging
Class PagedTraverser

java.lang.Object
  extended by 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


Constructor Summary
PagedTraverser(Traverser traverser, int pageSize)
           
 
Method Summary
 boolean hasNext()
           
 Iterator<List<Path>> iterator()
           
 List<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(Traverser traverser,
                      int pageSize)
Method Detail

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.