org.neo4j.graphdb.traversal
Class PathEvaluator.Adapter<STATE>

java.lang.Object
  extended by org.neo4j.graphdb.traversal.PathEvaluator.Adapter<STATE>
Type Parameters:
STATE -
All Implemented Interfaces:
Evaluator, PathEvaluator<STATE>
Enclosing interface:
PathEvaluator<STATE>

public abstract static class PathEvaluator.Adapter<STATE>
extends Object
implements PathEvaluator<STATE>

Adapter for PathEvaluator.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.neo4j.graphdb.traversal.PathEvaluator
PathEvaluator.Adapter<STATE>
 
Nested classes/interfaces inherited from interface org.neo4j.graphdb.traversal.Evaluator
Evaluator.AsPathEvaluator<STATE>
 
Constructor Summary
PathEvaluator.Adapter()
           
 
Method Summary
 Evaluation evaluate(Path path)
          Evaluates a Path and returns an Evaluation containing information about whether or not to include it in the traversal result, i.e return it from the Traverser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.neo4j.graphdb.traversal.PathEvaluator
evaluate
 

Constructor Detail

PathEvaluator.Adapter

public PathEvaluator.Adapter()
Method Detail

evaluate

public Evaluation evaluate(Path path)
Description copied from interface: Evaluator
Evaluates a Path and returns an Evaluation containing information about whether or not to include it in the traversal result, i.e return it from the Traverser. And also whether or not to continue traversing down that path or if it instead should be pruned so that the traverser won't continue down that branch represented by path.

Specified by:
evaluate in interface Evaluator
Parameters:
path - the Path to evaluate.
Returns:
an Evaluation containing information about whether or not to return it from the Traverser and whether or not to continue down that path.


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