public static class InitialBranchState.State<STATE> extends InitialBranchState.Adapter<STATE>
InitialBranchState.Adapter<STATE>, InitialBranchState.State<STATE>InitialStateFactory.AsInitialBranchState<STATE>NO_STATE| Constructor and Description |
|---|
InitialBranchState.State(STATE initialState,
STATE reversedInitialState) |
| Modifier and Type | Method and Description |
|---|---|
STATE |
initialState(Path path)
Returns an initial state for a
Path. |
InitialBranchState<STATE> |
reverse()
Creates a version of this state factory which produces reversed initial state,
used in bidirectional traversals.
|
public InitialBranchState<STATE> reverse()
InitialBranchStatereverse in interface InitialBranchState<STATE>reverse in class InitialBranchState.Adapter<STATE>public STATE initialState(Path path)
InitialStateFactoryPath. All paths entering this method
are start paths(es) of a traversal. State is passed down along traversal
branches as the traversal progresses and can be changed at any point by a
PathExpander to becomes the new state from that point in that branch
and downwards.path - the start branch to return the initial state for.Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.