Package org.neo4j.graphdb.traversal

Examples of org.neo4j.graphdb.traversal.PruneEvaluator


     * @deprecated because of the introduction of {@link Evaluator}. The equivalent
     * is {@link Evaluators#toDepth(int)}.
     */
    public static PruneEvaluator pruneAfterDepth( final int depth )
    {
        return new PruneEvaluator()
        {
            public boolean pruneAfter( Path position )
            {
                return position.length() >= depth;
            }
View Full Code Here


   
    @Test
    public void makeSurePruneIsntCalledForStartNode()
    {
        final boolean[] calledForStartPosition = new boolean[1];
        PruneEvaluator evaluator = new PruneEvaluator()
        {
            public boolean pruneAfter( Path position )
            {
                if ( position.length() == 0 )
                {
View Full Code Here

TOP

Related Classes of org.neo4j.graphdb.traversal.PruneEvaluator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.