org.neo4j.graphdb.traversal
Interface InitialBranchState<STATE>

Type Parameters:
STATE - type of initial state to produce.
All Superinterfaces:
InitialStateFactory<STATE>
All Known Implementing Classes:
InitialBranchState.Adapter, InitialBranchState.State, InitialStateFactory.AsInitialBranchState

public interface InitialBranchState<STATE>
extends InitialStateFactory<STATE>

Factory for initial state of TraversalBranches in a traversal.


Nested Class Summary
static class InitialBranchState.Adapter<STATE>
           
static class InitialBranchState.State<STATE>
          Branch state evaluator for an initial state.
 
Nested classes/interfaces inherited from interface org.neo4j.graphdb.traversal.InitialStateFactory
InitialStateFactory.AsInitialBranchState<STATE>
 
Field Summary
static InitialBranchState NO_STATE
           
 
Method Summary
 InitialBranchState<STATE> reverse()
          Creates a version of this state factory which produces reversed initial state, used in bidirectional traversals.
 
Methods inherited from interface org.neo4j.graphdb.traversal.InitialStateFactory
initialState
 

Field Detail

NO_STATE

static final InitialBranchState NO_STATE
Method Detail

reverse

InitialBranchState<STATE> reverse()
Creates a version of this state factory which produces reversed initial state, used in bidirectional traversals.

Returns:
an instance which produces reversed initial state.


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.