org.neo4j.graphalgo.impl.util
Class StopAfterWeightIterator

java.lang.Object
  extended by org.neo4j.helpers.collection.PrefetchingIterator<WeightedPath>
      extended by org.neo4j.graphalgo.impl.util.StopAfterWeightIterator
All Implemented Interfaces:
Iterator<WeightedPath>

public class StopAfterWeightIterator
extends PrefetchingIterator<WeightedPath>


Constructor Summary
StopAfterWeightIterator(Iterator<Path> paths, CostEvaluator<Double> costEvaluator)
           
 
Method Summary
protected  WeightedPath fetchNextOrNull()
           
 
Methods inherited from class org.neo4j.helpers.collection.PrefetchingIterator
getPrefetchedNextOrNull, hasNext, next, remove, setPrefetchedNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopAfterWeightIterator

public StopAfterWeightIterator(Iterator<Path> paths,
                               CostEvaluator<Double> costEvaluator)
Method Detail

fetchNextOrNull

protected WeightedPath fetchNextOrNull()
Specified by:
fetchNextOrNull in class PrefetchingIterator<WeightedPath>


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.