public interface BranchCollisionDetector
| Modifier and Type | Method and Description |
|---|---|
Iterable<Path> |
evaluate(TraversalBranch branch,
Direction direction)
Evaluate the given
branch coming from either the start side or the
end side. |
Iterable<Path> evaluate(TraversalBranch branch, Direction direction)
branch coming from either the start side or the
end side. Which side the branch represents is controlled by the direction
argument, Direction.OUTGOING means the start side and Direction.INCOMING
means the end side. Returns an Iterable of new unique Paths if
this branch resulted in a collision with other previously registered branches,
or null if this branch didn't result in any collision.branch - the TraversalBranch to check for collision with other
previously registered branches.direction - Direction.OUTGOING if this branch represents a branch
from the start side of this bidirectional traversal, or Direction.INCOMING
for the end side.null if no collision occured.Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.