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

org.neo4j.graphdb.traversal

## Interface SideSelector

- All Superinterfaces:
    BranchSelector

      public interface SideSelector
      extends BranchSelector

  Dictates which side is the current side in a bidirectional traversal to traverse the next step for. For example an alternating side selector will return alternating start side and end side as long as each side hasn't reached it's end.
  Author:
    Mattias Persson

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Direction` | `currentSide()`

    - ### Methods inherited from interface org.neo4j.graphdb.traversal.BranchSelector

      `next`

- - ### Method Detail

    - #### currentSide

          Direction currentSide()

      Returns:
        the side to traverse next on, `Direction.OUTGOING` for start side and `Direction.INCOMING` for end side.

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