SideSelectorPolicy (Neo4j Community 2.1.0-M01 API)
Date: 2014-02-20

org.neo4j.graphdb.traversal

## Interface SideSelectorPolicy

- All Known Implementing Classes:
    SideSelectorPolicies

      public interface SideSelectorPolicy

  A factory for `SideSelector`s. Used during bidirectional traversals.
  Author:
    Mattias Persson

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `SideSelector` | `create(BranchSelector start, BranchSelector end, int maxDepth)` Creates a new `SideSelector` given the `start`/`end` `BranchSelector`s and an optional `maxDepth`.

- - ### Method Detail

    - #### create

          SideSelector create(BranchSelector start,
                            BranchSelector end,
                            int maxDepth)

      Creates a new `SideSelector` given the `start`/`end` `BranchSelector`s and an optional `maxDepth`.
      Parameters:
        `start` - the start side `BranchSelector` of this bidirectional traversal.
        `end` - the end side `BranchSelector` of this bidirectional traversal.
        `maxDepth` - an optional max depth the combined traversal depth must be kept within. Optional in the sense that only some implementations honors it.
      Returns:
        a new `SideSelector` for `start` and `end` `BranchSelector`s.

Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.