Examples of PruneEvaluator


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

Examples of org.neo4j.graphdb.traversal.PruneEvaluator

   
    @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
Copyright © 2018 www.massapi.com. 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.